Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Committer:
twighk
Date:
Fri Apr 05 21:49:23 2013 +0000
Revision:
12:d4b5851742a3
Child:
22:167dacfe0b14
Printing Thread prints stuff

Who changed what in which revision?

UserRevisionLine numberNew 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);