185
www.keyestudio.com
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x
00,0x00,0x00,0x00};
#define SCL_Pin A5 //Set clock pin to A5
#define SDA_Pin A4 //Set data pin to A4
#define ML_Ctrl 13
//define the direction control pin of left
motor
#define ML_PWM 11
//define PWM control pin of left motor
#define MR_Ctrl 12 //define the direction control pin of right
motor
#define MR_PWM 3
//define PWM control pin of right motor
#define Trig 5 //ultrasonic trig Pin
#define Echo 4 //ultrasonic echo Pin
int distance;
int pulsewidth;
#define servoPin 9 //servo Pin
void setup(){
Serial.begin(9600);
pinMode(SCL_Pin,OUTPUT);
pinMode(SDA_Pin,OUTPUT);
matrix_display(clear); //Clear the display
matrix_display(start01); //display start pattern
pinMode(servoPin, OUTPUT);
Summary of Contents for Ks0428
Page 21: ...21 www keyestudio com...
Page 24: ...24 www keyestudio com...
Page 27: ...27 www keyestudio com...
Page 29: ...29 www keyestudio com Step 6 Install Sensors and Boards...
Page 31: ...31 www keyestudio com...
Page 32: ...32 www keyestudio com Step 7 Hook up Guide...
Page 33: ...33 www keyestudio com...
Page 34: ...34 www keyestudio com...
Page 35: ...35 www keyestudio com Step 8 Wire Up LED Panel...
Page 37: ...37 www keyestudio com...
Page 38: ...38 www keyestudio com...
Page 39: ...39 www keyestudio com...
Page 40: ...40 www keyestudio com...
Page 41: ...41 www keyestudio com...
Page 42: ...42 www keyestudio com...
Page 54: ...54 www keyestudio com...
Page 58: ...58 www keyestudio com 5 Arduino IDE Setting Click icon open Arduino IDE...
Page 63: ...63 www keyestudio com Click to start compiling the program check errors...
Page 72: ...72 www keyestudio com Connection Diagram Seen from the above diagram LED is linked with D2...
Page 103: ...103 www keyestudio com 5 Connection Diagram...
Page 126: ...126 www keyestudio com 8 Click Read Notify WriteWithoutResponse to enter the following page...
Page 172: ...172 www keyestudio com 2 Flow chart 3 Connection Diagram...
Page 182: ...182 www keyestudio com 2 Flow chart 3 Connection Diagram...
Page 210: ...210 www keyestudio com 3 Connection Diagram...
Page 223: ...223 www keyestudio com Attention Confirm that every component is connected...
Page 225: ...225 www keyestudio com Servo Motor Brown Wire Gnd G Red Wire 5v V Orange Wire 9...
Page 227: ...227 www keyestudio com IR Receiver Module Sensor Shield G GND V VCC S A0...