Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define LIDARADDRESS 1.673
- void serialInit(void);
- void ledEnable(void);
- void splitNum(int * array, float distance);
- void sevSegDisp(int *array);
- void delay(long int a);
- int lookUp[] = {0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F};
- int frontlookUp[] = {0xBF,0x86,0xDB,0xCF,0xE6,0xED,0xFD,0x87,0xFF,0xEF};
- int sevLEDArray[4] = {0xFE, 0xFD, 0xFB, 0xF7};
- int timeNum = 900;
- int array[4] = {0, 0, 0, 0};
- float distance = 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement