2014 Eurobot fork
Dependencies: mbed-rtos mbed QEI
Processes/Printing/Printing.h@21:167dacfe0b14, 2013-04-09 (annotated)
- Committer:
- madcowswe
- Date:
- Tue Apr 09 19:24:31 2013 +0000
- Revision:
- 21:167dacfe0b14
- Parent:
- 13:d4b5851742a3
- Child:
- 25:b16f1045108f
Working state UI
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 | |
madcowswe | 21:167dacfe0b14 | 7 | namespace Printing { |
madcowswe | 21:167dacfe0b14 | 8 | |
twighk | 13:d4b5851742a3 | 9 | const size_t NUMIDS = sizeof(unsigned int)*8; |
twighk | 13:d4b5851742a3 | 10 | |
twighk | 13:d4b5851742a3 | 11 | //Function to start in Thread |
madcowswe | 21:167dacfe0b14 | 12 | void printingloop(void const*); // |
twighk | 13:d4b5851742a3 | 13 | |
twighk | 13:d4b5851742a3 | 14 | //Functions to use |
twighk | 13:d4b5851742a3 | 15 | bool registerID(char id, size_t length); |
twighk | 13:d4b5851742a3 | 16 | bool unregisterID(char id); |
twighk | 13:d4b5851742a3 | 17 | bool updateval(char id, float* buffer, size_t length); |
twighk | 13:d4b5851742a3 | 18 | bool updateval(char id, float value); |
madcowswe | 21:167dacfe0b14 | 19 | |
madcowswe | 21:167dacfe0b14 | 20 | } |