A smart remote using the sparkfun IR transmitter and receiver. The program also uses a web server to show the buttons on a mobile platform.

Dependencies:   EthernetInterface HTTPServer RemoteIR SDFileSystem mbed-rpc mbed-rtos mbed

Fork of SmartRemoteClean by Sarvagya Vaish

Files at this revision

API Documentation at this revision

Comitter:
sammacjunkie
Date:
Tue Dec 03 14:43:51 2013 +0000
Parent:
8:858f7605c769
Child:
11:5ccd10dd22cc
Commit message:
updated RCP variables for string passthru

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Dec 03 14:41:51 2013 +0000
+++ b/main.cpp	Tue Dec 03 14:43:51 2013 +0000
@@ -71,9 +71,8 @@
     svr.addHandler<HTTPRpcRequestHandler>("/rpc");
 
     EthernetInterface eth;
-    eth.setup(300000);
     eth.init(); //Use DHCP
-    eth.connect();
+    eth.connect(30000);
 
     // Now start the server on port 80.
     if (!svr.start(80, &eth)) {