Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
PollSwitch/PollSwitch.h@7:5f6e31faa08e, 2014-10-10 (annotated)
- Committer:
- martydd3
- Date:
- Fri Oct 10 20:59:36 2014 +0000
- Revision:
- 7:5f6e31faa08e
- Parent:
- 6:6a04210a3f4f
- Child:
- 12:e0adb697fcdb
PollSwitch code;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| martydd3 | 7:5f6e31faa08e | 1 | #ifndef _FILE_POLLSWITCH_H |
| martydd3 | 7:5f6e31faa08e | 2 | #define _FILE_POLLSWITCH_H |
| martydd3 | 7:5f6e31faa08e | 3 | |
| martydd3 | 6:6a04210a3f4f | 4 | #include "LPCDigitalOut.h" |
| martydd3 | 6:6a04210a3f4f | 5 | #include "LPCDigitalIn.h" |
| martydd3 | 7:5f6e31faa08e | 6 | #include "CANBuffer.h" |
| martydd3 | 7:5f6e31faa08e | 7 | #include "rtos.h" |
| martydd3 | 0:e516fcccccda | 8 | |
| martydd3 | 7:5f6e31faa08e | 9 | const int TX_POLL_ID = ((4 << 8) | 6); |
| martydd3 | 0:e516fcccccda | 10 | |
| martydd3 | 7:5f6e31faa08e | 11 | class PollSwitch{ |
| martydd3 | 7:5f6e31faa08e | 12 | public: |
| martydd3 | 7:5f6e31faa08e | 13 | PollSwitch(CANBuffer *can); |
| martydd3 | 7:5f6e31faa08e | 14 | void start_update(); |
| martydd3 | 7:5f6e31faa08e | 15 | }; |
| martydd3 | 7:5f6e31faa08e | 16 | #endif |
