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-rtos mbed QEI
Fork of ICRSEurobot13 by
Processes/Printing/Printing.h@52:bffe5f7c39a3, 2013-04-12 (annotated)
- Committer:
- rsavitski
- Date:
- Fri Apr 12 17:29:38 2013 +0000
- Revision:
- 52:bffe5f7c39a3
- Parent:
- 37:6ecf0d21e492
- Child:
- 62:78d99b781f02
diff check
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| twighk | 13:d4b5851742a3 | 1 | |
| twighk | 13:d4b5851742a3 | 2 | // Eurobot13 Printing.h |
| twighk | 13:d4b5851742a3 | 3 | |
| rsavitski | 52:bffe5f7c39a3 | 4 | //#define PRINTINGOFF |
| madcowswe | 25:b16f1045108f | 5 | |
| twighk | 13:d4b5851742a3 | 6 | #include "mbed.h" |
| twighk | 13:d4b5851742a3 | 7 | #include "rtos.h" |
| twighk | 13:d4b5851742a3 | 8 | |
| madcowswe | 21:167dacfe0b14 | 9 | namespace Printing { |
| madcowswe | 21:167dacfe0b14 | 10 | |
| twighk | 13:d4b5851742a3 | 11 | const size_t NUMIDS = sizeof(unsigned int)*8; |
| twighk | 13:d4b5851742a3 | 12 | |
| twighk | 13:d4b5851742a3 | 13 | //Function to start in Thread |
| madcowswe | 21:167dacfe0b14 | 14 | void printingloop(void const*); // |
| twighk | 13:d4b5851742a3 | 15 | |
| twighk | 13:d4b5851742a3 | 16 | //Functions to use |
| twighk | 13:d4b5851742a3 | 17 | bool registerID(char id, size_t length); |
| twighk | 13:d4b5851742a3 | 18 | bool unregisterID(char id); |
| twighk | 13:d4b5851742a3 | 19 | bool updateval(char id, float* buffer, size_t length); |
| twighk | 13:d4b5851742a3 | 20 | bool updateval(char id, float value); |
| madcowswe | 21:167dacfe0b14 | 21 | |
| madcowswe | 21:167dacfe0b14 | 22 | } |
