Keyestudio Smart Little Turtle Robot V3 Manual page 153

Table of Contents

Advertisement

www.keyestudio.com
below:
/*
keyestudio smart turtle robot
lesson 9.2
Matrix
http://www.keyestudio.com
*/
#include <Matrix.h>
Matrix myMatrix(A4,A5);
//define an array
uint8_t LedArray1[8]={0x66,0x99,0x81,0x81,0x42,0x24,0x18,0x00};
uint8_t
LEDArray[8]; //define an array(by modulus tool) without initial
value
void setup(){
myMatrix.begin(0x70); //communication address
myMatrix.clear();
}
void loop(){
for(int i=0; i<8; i++) // there is eight data, loop for eight times
{
LEDArray[i]=LedArray1[i];
//set pins to communication pins
//Clear
//Call the emoticon array data in the
153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents