Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rto mbed
Fork of ProjectVLC by
main.cpp
00001 #include "mbed.h" 00002 #include "rtos.h" 00003 #include "Interpreter.h" 00004 #include "TCPlistener.h" 00005 #include "Receiver.h" 00006 #include "LEDDriver.h" 00007 00008 Ticker ledTicker; 00009 LEDDriver *driver; 00010 00011 void receive(Queue<int,8>* queue){ 00012 Receiver receiver(queue); 00013 receiver.start(); 00014 } 00015 00016 void driveLeds() { 00017 driver->drive(8); 00018 } 00019 00020 int main (void){ 00021 Queue<int,8> queue; 00022 driver=new LEDDriver(&queue); 00023 ledTicker.attach(&driveLeds, 0.0015f); 00024 receive(&queue); 00025 }
Generated on Wed Jul 13 2022 07:48:05 by
1.7.2
