Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Committer:
madcowswe
Date:
Thu Apr 11 19:49:46 2013 +0000
Revision:
43:6504d85d85b4
Parent:
38:6ecf0d21e492
CpuUsage working. Currently 4%

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
madcowswe 43:6504d85d85b4 4 //#define PRINTINGOFF
madcowswe 26:b16f1045108f 5
twighk 12:d4b5851742a3 6 #include "mbed.h"
twighk 12:d4b5851742a3 7 #include "rtos.h"
twighk 12:d4b5851742a3 8
madcowswe 22:167dacfe0b14 9 namespace Printing {
madcowswe 22:167dacfe0b14 10
twighk 12:d4b5851742a3 11 const size_t NUMIDS = sizeof(unsigned int)*8;
twighk 12:d4b5851742a3 12
twighk 12:d4b5851742a3 13 //Function to start in Thread
madcowswe 22:167dacfe0b14 14 void printingloop(void const*); //
twighk 12:d4b5851742a3 15
twighk 12:d4b5851742a3 16 //Functions to use
twighk 12:d4b5851742a3 17 bool registerID(char id, size_t length);
twighk 12:d4b5851742a3 18 bool unregisterID(char id);
twighk 12:d4b5851742a3 19 bool updateval(char id, float* buffer, size_t length);
twighk 12:d4b5851742a3 20 bool updateval(char id, float value);
madcowswe 22:167dacfe0b14 21
madcowswe 22:167dacfe0b14 22 }