This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Printing.h Source File

Printing.h

00001 
00002 // Eurobot13 Printing.h
00003 
00004 //#define PRINTINGOFF
00005 
00006 #include "mbed.h"
00007 #include "rtos.h"
00008 
00009 namespace Printing {
00010 
00011 const size_t NUMIDS = sizeof(unsigned int)*8;
00012 
00013 //Function to start in Thread
00014 void printingloop(void const*); //
00015 
00016 //Functions to use 
00017 bool registerID(char id, size_t length);
00018 bool unregisterID(char id);
00019 bool updateval(char id, float* buffer, size_t length);
00020 bool updateval(char id, float value);
00021 
00022 }