Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #define LIDARADDRESS 1.673
  2.  
  3. void serialInit(void);
  4. void ledEnable(void);
  5. void splitNum(int * array, float distance);
  6. void sevSegDisp(int *array);
  7. void delay(long int a);
  8.  
  9. int lookUp[] = {0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x07,0x7F,0x6F};
  10. int frontlookUp[] = {0xBF,0x86,0xDB,0xCF,0xE6,0xED,0xFD,0x87,0xFF,0xEF};
  11. int sevLEDArray[4] = {0xFE, 0xFD, 0xFB, 0xF7};
  12. int timeNum = 900;
  13. int array[4] = {0, 0, 0, 0};
  14. float distance = 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement