Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 3rd, 2013  |  syntax: C  |  size: 0.54 KB  |  views: 6  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #ifndef SERIAL_H
  2. #define SERIAL_H
  3.  
  4. #define BAUD 9600  
  5.  
  6. #define CAN 9
  7. #define NOCAN 10
  8.  
  9. #define BUTTON 18
  10. #define NOBUTTON 19
  11.  
  12. //parameterless functions
  13.  
  14. #define LED_ON           1
  15. #define LED_OFF          2
  16.  
  17. #define LIFT_CANS        12
  18. #define ISCAN            13
  19. #define GRAB_FIRST       14
  20. #define SCORE            15
  21. #define ISBUTTON         16
  22. #define CLOSEWINGS       17
  23. #define OPENWINGS        18
  24. #define REVERSE          19
  25.  
  26. //two-parameter functions
  27.  
  28. #define SET_SERVO_POS   30
  29.  
  30. void execute_function();
  31.  
  32. #endif