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@20:3dfa7e9461a0, 2014-11-07 (annotated)
- Committer:
- martydd3
- Date:
- Fri Nov 07 01:26:13 2014 +0000
- Revision:
- 20:3dfa7e9461a0
- Parent:
- 19:3a817d2cef11
- Child:
- 22:fc802e7715f8
Moved code over from another testing project
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 | 20:3dfa7e9461a0 | 9 | CoulombCounter coulombCounter(10, 0, 0); |
