2014 Eurobot fork
Dependencies: mbed-rtos mbed QEI
Processes/Printing/Printing.h@13:d4b5851742a3, 2013-04-05 (annotated)
- Committer:
- twighk
- Date:
- Fri Apr 05 21:49:23 2013 +0000
- Revision:
- 13:d4b5851742a3
- Child:
- 21:167dacfe0b14
Printing Thread prints stuff
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 | |
twighk | 13:d4b5851742a3 | 4 | #include "mbed.h" |
twighk | 13:d4b5851742a3 | 5 | #include "rtos.h" |
twighk | 13:d4b5851742a3 | 6 | |
twighk | 13:d4b5851742a3 | 7 | const size_t NUMIDS = sizeof(unsigned int)*8; |
twighk | 13:d4b5851742a3 | 8 | |
twighk | 13:d4b5851742a3 | 9 | //Function to start in Thread |
twighk | 13:d4b5851742a3 | 10 | void printingThread(void const*); // |
twighk | 13:d4b5851742a3 | 11 | |
twighk | 13:d4b5851742a3 | 12 | //Functions to use |
twighk | 13:d4b5851742a3 | 13 | bool registerID(char id, size_t length); |
twighk | 13:d4b5851742a3 | 14 | bool unregisterID(char id); |
twighk | 13:d4b5851742a3 | 15 | bool updateval(char id, float* buffer, size_t length); |
twighk | 13:d4b5851742a3 | 16 | bool updateval(char id, float value); |