![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
demo versie 16/05
Dependencies: EthernetInterface mbed-rto mbed
Fork of ProjectVLC by
Diff: LEDDriver.h
- Revision:
- 47:2d877f01ca7b
- Parent:
- 46:ffac07bff0d8
- Child:
- 49:8fe84f455571
--- a/LEDDriver.h Wed May 02 15:04:28 2018 +0000 +++ b/LEDDriver.h Wed May 09 07:24:39 2018 +0000 @@ -10,13 +10,15 @@ private: int* messageList; - int* codedMessage0; - int* codedMessage1; - int* codedMessage2; - int* codedMessage3; + int codedMessage0[20]; + int codedMessage1[20]; + int codedMessage2[20]; + int codedMessage3[20]; + int codedMessage4[20]; int directions[8]; Queue<int,8>* queue; DigitalOut* leds; + int currentLocation; /**prep for eventual multithreading *methode om nieuwe richtingen van de receiver klasse te ontvangen @@ -31,6 +33,8 @@ */ void sendData(); + void setLEDS(int j); + public: /** @@ -59,6 +63,7 @@ void drive8leds(); -}; + void initArrays(); +}; #endif \ No newline at end of file