EZR
Dependencies: CRC16 FreescaleIAP FreescaleWatchdog GGSProtocol LM75B PIMA Parameters PersistentCircularQueue SerialNumberV2COM mbed-dev-watchdog_2016_03_04
Fork of smartRamalKW by
v2hardware.h@10:7a1d1abb5172, 2015-07-23 (annotated)
- Committer:
- tpadovani
- Date:
- Thu Jul 23 22:46:18 2015 +0000
- Revision:
- 10:7a1d1abb5172
- Parent:
- 8:e8d86c66283c
- Child:
- 18:476f5723d860
Mem?ria de massa de tens?o e comando para ler o rel?gio atual.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tpadovani | 1:6ac7168763b6 | 1 | #ifndef V2_HARDWARE_H |
tpadovani | 1:6ac7168763b6 | 2 | #define V2_HARDWARE_H |
tpadovani | 1:6ac7168763b6 | 3 | |
tpadovani | 1:6ac7168763b6 | 4 | #include "mbed.h" |
tpadovani | 1:6ac7168763b6 | 5 | #include "settings.h" |
tpadovani | 1:6ac7168763b6 | 6 | |
tpadovani | 1:6ac7168763b6 | 7 | #ifdef TEST_MODE |
tpadovani | 1:6ac7168763b6 | 8 | DigitalOut reset_relay(PTC6); |
tpadovani | 1:6ac7168763b6 | 9 | DigitalOut set_relay(PTC5); |
tpadovani | 2:b808b1743de2 | 10 | Serial ggsStream(USBTX, USBRX); |
tpadovani | 8:e8d86c66283c | 11 | AnalogIn voltage[] = {PTC2, PTD6}; |
tpadovani | 1:6ac7168763b6 | 12 | #else |
tpadovani | 1:6ac7168763b6 | 13 | DigitalOut reset_relay(PTC6); |
tpadovani | 1:6ac7168763b6 | 14 | DigitalOut set_relay(PTC5); |
tpadovani | 2:b808b1743de2 | 15 | Serial ggsStream(PTC4, PTC3); |
tpadovani | 8:e8d86c66283c | 16 | AnalogIn voltage[] = {PTC2, PTD6}; |
tpadovani | 1:6ac7168763b6 | 17 | #endif // TEST_MODE |
tpadovani | 1:6ac7168763b6 | 18 | |
tpadovani | 1:6ac7168763b6 | 19 | #endif // V2_HARDWARE_H |