207
www.keyestudio.com
uint8_t matrix_smile[8]={0x42,0xa5,0xa5,0x00,0x00,0x24,0x18,0x00};
uint8_t matrix_front2[8]={0x18,0x24,0x42,0x99,0x24,0x42,0x81,0x00};
uint8_t matrix_back2[8]={0x00,0x81,0x42,0x24,0x99,0x42,0x24,0x18};
uint8_t matrix_left2[8]={0x48,0x24,0x12,0x09,0x09,0x12,0x24,0x48};
uint8_t matrix_right2[8]={0x12,0x24,0x48,0x90,0x90,0x48,0x24,0x12};
uint8_t matrix_stop2[8]={0x18,0x18,0x18,0x18,0x18,0x00,0x18,0x18};
uint8_t LEDArray[8];
unsigned char data_line = 0;
unsigned char delay_count = 0;
const int left_ctrl = 2;//
define direction control pin of A motor
const int left_pwm = 9;//
define PWM control pin of A motor
const int right_ctrl = 4;//
define direction control pin of B motor
const int right_pwm = 5;//
define PWM control pin of B motor
char BLE_val;
void setup()
{
Serial.begin(9600);
pinMode(left_ctrl,OUTPUT);
pinMode(left_pwm,OUTPUT);
pinMode(right_ctrl,OUTPUT);
pinMode(right_pwm,OUTPUT);
myMatrix.begin(112);
Summary of Contents for Smart Little Turtle Robot V3
Page 5: ...5 www keyestudio com 1 Introduction...
Page 16: ...16 www keyestudio com...
Page 17: ...17 www keyestudio com...
Page 18: ...18 www keyestudio com...
Page 19: ...19 www keyestudio com...
Page 22: ...22 www keyestudio com...
Page 24: ...24 www keyestudio com...
Page 25: ...25 www keyestudio com...
Page 26: ...26 www keyestudio com...
Page 28: ...28 www keyestudio com...
Page 29: ...29 www keyestudio com...
Page 30: ...30 www keyestudio com...
Page 31: ...31 www keyestudio com Step 7 Hook up Guide...
Page 32: ...32 www keyestudio com...
Page 33: ...33 www keyestudio com...
Page 44: ...44 www keyestudio com...
Page 48: ...48 www keyestudio com 4 Arduino IDE Setting Click icon open Arduino IDE...
Page 53: ...53 www keyestudio com Set board and COM port the corresponding board and COM port are...
Page 55: ...55 www keyestudio com Click to upload the program upload successfully...
Page 59: ...59 www keyestudio com...
Page 96: ...96 www keyestudio com 5 Connection Diagram...
Page 121: ...121 www keyestudio com 6 Then pop up the following page...
Page 122: ...122 www keyestudio com 7 Click Read Notify WriteWithoutResponse to enter the following page...
Page 129: ...129 www keyestudio com...
Page 143: ...143 www keyestudio com The definition inner pins are shown below...
Page 159: ...159 www keyestudio com 3 Connection Diagram 4 Test Code...
Page 167: ...167 www keyestudio com 2 Hook up Diagram...
Page 187: ...187 www keyestudio com 8 8 LED matrix shows rightward icon Flow Chart 2 Hook up Diagram...
Page 200: ...200 www keyestudio com 5 Click to enter the main page of turtle smart car...