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 =
const int left_pwm =
const int right_ctrl =
const int right_pwm =
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);
2;//define direction control pin of A motor
9;//define PWM control pin of A motor
4;//define direction control pin of B motor
5;//define PWM control pin of B motor
207
Need help?
Do you have a question about the Smart Little Turtle Robot V3 and is the answer not in the manual?
Questions and answers