ICRS Eurobot 2013
Dependencies: mbed mbed-rtos Servo QEI
Processes/Printing/Printing.h@20:70d651156779, 2013-04-09 (annotated)
- Committer:
- madcowswe
- Date:
- Tue Apr 09 15:33:36 2013 +0000
- Revision:
- 20:70d651156779
- Parent:
- 12:d4b5851742a3
Predict loop running, update loop not done.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
twighk | 12:d4b5851742a3 | 1 | |
twighk | 12:d4b5851742a3 | 2 | // Eurobot13 Printing.h |
twighk | 12:d4b5851742a3 | 3 | |
twighk | 12:d4b5851742a3 | 4 | #include "mbed.h" |
twighk | 12:d4b5851742a3 | 5 | #include "rtos.h" |
twighk | 12:d4b5851742a3 | 6 | |
twighk | 12:d4b5851742a3 | 7 | const size_t NUMIDS = sizeof(unsigned int)*8; |
twighk | 12:d4b5851742a3 | 8 | |
twighk | 12:d4b5851742a3 | 9 | //Function to start in Thread |
twighk | 12:d4b5851742a3 | 10 | void printingThread(void const*); // |
twighk | 12:d4b5851742a3 | 11 | |
twighk | 12:d4b5851742a3 | 12 | //Functions to use |
twighk | 12:d4b5851742a3 | 13 | bool registerID(char id, size_t length); |
twighk | 12:d4b5851742a3 | 14 | bool unregisterID(char id); |
twighk | 12:d4b5851742a3 | 15 | bool updateval(char id, float* buffer, size_t length); |
twighk | 12:d4b5851742a3 | 16 | bool updateval(char id, float value); |