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
IOobjects.cpp@22:fc802e7715f8, 2014-11-07 (annotated)
- Committer:
- martydd3
- Date:
- Fri Nov 07 21:09:50 2014 +0000
- Revision:
- 22:fc802e7715f8
- Parent:
- 20:3dfa7e9461a0
CANController to link DC_DC and FanPump, as well as listen to CAN Messages (since only these 2 functions act based on incoming messages)
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| martydd3 | 19:3a817d2cef11 | 1 | #include "IOobjects.h" |
| martydd3 | 19:3a817d2cef11 | 2 | |
| martydd3 | 19:3a817d2cef11 | 3 | // I/O objects |
| martydd3 | 19:3a817d2cef11 | 4 | MODSERIAL pc(USBTX, USBRX, 4096, 256); // Software buffered serial, 4kB buffer |
| martydd3 | 19:3a817d2cef11 | 5 | CANBuffer can(CAN2, MEDIUM, p0_6); // Software buffered CAN |
| martydd3 | 19:3a817d2cef11 | 6 | Watchdog wdt(0.11); // Watchdog timer set to 110ms |
| martydd3 | 20:3dfa7e9461a0 | 7 | PollSwitch pollSwitch; |
| martydd3 | 20:3dfa7e9461a0 | 8 | IMD imd; |
| martydd3 | 22:fc802e7715f8 | 9 | CoulombCounter coulombCounter(10, 0, 0); |
| martydd3 | 22:fc802e7715f8 | 10 | DC dc; |
