Test Code - Keyestudio Ks0428 Manual

Table of Contents

Advertisement

www.keyestudio.com

(4) Test Code

Note: Remove the Bluetooth module before uploading test code,
otherwise, you will fail to upload test code.
/*
keyestudio Robot Car v2.0
lesson 14.2
bluetooth car
http://www.keyestudio.com
*/
//Array, used to store the data of pattern, can be calculated by
yourself or obtained from the modulus tool
unsigned
{0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x80,0x40,0x20,0x10,0x
08,0x04,0x02,0x01};
unsigned
{0x00,0x00,0x00,0x00,0x00,0x24,0x12,0x09,0x12,0x24,0x00,0x00,0x
00,0x00,0x00,0x00};
unsigned
{0x00,0x00,0x00,0x00,0x00,0x24,0x48,0x90,0x48,0x24,0x00,0x00,0x
00,0x00,0x00,0x00};
char
char
char
start01[]
front[]
back[]
=
=
=
212

Advertisement

Table of Contents
loading

Table of Contents