Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Committer:
madcowswe
Date:
Tue Apr 09 19:24:31 2013 +0000
Revision:
22:167dacfe0b14
Parent:
12:d4b5851742a3
Child:
26:b16f1045108f
Working state UI

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
madcowswe 22:167dacfe0b14 7 namespace Printing {
madcowswe 22:167dacfe0b14 8
twighk 12:d4b5851742a3 9 const size_t NUMIDS = sizeof(unsigned int)*8;
twighk 12:d4b5851742a3 10
twighk 12:d4b5851742a3 11 //Function to start in Thread
madcowswe 22:167dacfe0b14 12 void printingloop(void const*); //
twighk 12:d4b5851742a3 13
twighk 12:d4b5851742a3 14 //Functions to use
twighk 12:d4b5851742a3 15 bool registerID(char id, size_t length);
twighk 12:d4b5851742a3 16 bool unregisterID(char id);
twighk 12:d4b5851742a3 17 bool updateval(char id, float* buffer, size_t length);
twighk 12:d4b5851742a3 18 bool updateval(char id, float value);
madcowswe 22:167dacfe0b14 19
madcowswe 22:167dacfe0b14 20 }