Keyestudio Smart Little Turtle Robot V3 Manual page 149

Table of Contents

Advertisement

www.keyestudio.com
interface.
(7) Test Code:
/*
keyestudio smart turtle robot
lesson 9.1
Matrix
http://www.keyestudio.com
*/
#include <Matrix.h>
Matrix myMatrix(A4,A5);
// define an array
uint8_t LedArray1[8]={0x00, 0x66, 0x00, 0x00, 0x18, 0x42, 0x3c, 0x00};
uint8_t
LEDArray[8]; //define an array(by modulus tool) without initial
value
void setup(){
myMatrix.begin(0x70); //communication address
myMatrix.clear();
}
//set pins to communication pins
//clear matrix
149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents