Code for a quadrapod robot.
Dependencies: ArthropodIK MMA8451Q MODSERIAL TSI TextLCD mbed-rtos mbed PolyServo
quadrapod_defs.h@0:838403674a8f, 2015-06-19 (annotated)
- Committer:
- ikrase
- Date:
- Fri Jun 19 06:11:18 2015 +0000
- Revision:
- 0:838403674a8f
- Child:
- 3:9916f013d978
The beginning. Rough, raw templates.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ikrase | 0:838403674a8f | 1 | #ifndef QUADRAPOD_DEFS_H |
ikrase | 0:838403674a8f | 2 | #define QUADRAPOD_DEFS_H |
ikrase | 0:838403674a8f | 3 | |
ikrase | 0:838403674a8f | 4 | /* This header file defines pin names and similar stuff. */ |
ikrase | 0:838403674a8f | 5 | #include "mbed.h" |
ikrase | 0:838403674a8f | 6 | |
ikrase | 0:838403674a8f | 7 | /* Constant definitions. */ |
ikrase | 0:838403674a8f | 8 | #define RAD2DEG 57.2957795 |
ikrase | 0:838403674a8f | 9 | |
ikrase | 0:838403674a8f | 10 | /* Management and control lines */ |
ikrase | 0:838403674a8f | 11 | |
ikrase | 0:838403674a8f | 12 | #define BATTSENSE PTC1 |
ikrase | 0:838403674a8f | 13 | #define PWR_GOOD PTD6 |
ikrase | 0:838403674a8f | 14 | #define BUZZER PTE31 |
ikrase | 0:838403674a8f | 15 | |
ikrase | 0:838403674a8f | 16 | |
ikrase | 0:838403674a8f | 17 | |
ikrase | 0:838403674a8f | 18 | |
ikrase | 0:838403674a8f | 19 | |
ikrase | 0:838403674a8f | 20 | |
ikrase | 0:838403674a8f | 21 | #endif |