TeamE7

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

Fork of SmartRemote by Sam Kirsch

Revision:
7:7b3f53b5e737
Parent:
6:70a0af38edcc
Child:
8:858f7605c769
--- a/main.cpp	Tue Dec 03 03:49:12 2013 +0000
+++ b/main.cpp	Tue Dec 03 14:39:53 2013 +0000
@@ -20,14 +20,36 @@
 #include "db.h"
 // End DB
 
-
 // Start RPC
 #include "RPCVariable.h"
 int Request = 0;
 int Learn = 0;
+char Learn_name0;
+char Learn_name1;
+char Learn_name2;
+char Learn_name3;
+char Learn_name4;
+char Learn_name5;
+char Learn_name6;
+char Learn_name7;
+char Learn_name8;
+char Learn_name9;
 //Make these variables accessible over RPC by attaching them to an RPCVariable
 RPCVariable<int> RPCRequest(&Request, "Request");
 RPCVariable<int> RPCLearn(&Learn, "Learn");
+RPCVariable<char> RPCLearner0(&Learn_name0, "Learn_name0");
+RPCVariable<char> RPCLearner1(&Learn_name1, "Learn_name1");
+RPCVariable<char> RPCLearner2(&Learn_name2, "Learn_name2");
+RPCVariable<char> RPCLearner3(&Learn_name3, "Learn_name3");
+RPCVariable<char> RPCLearner4(&Learn_name4, "Learn_name4");
+RPCVariable<char> RPCLearner5(&Learn_name5, "Learn_name5");
+RPCVariable<char> RPCLearner6(&Learn_name6, "Learn_name6");
+RPCVariable<char> RPCLearner7(&Learn_name7, "Learn_name7");
+RPCVariable<char> RPCLearner8(&Learn_name8, "Learn_name8");
+RPCVariable<char> RPCLearner9(&Learn_name9, "Learn_name9");
+
+
+
 // End RPC
 
 Serial pc(USBTX, USBRX, "pc");
@@ -114,6 +136,7 @@
                 //display_format(format);
             }
             printf("%d",buf1);
+            //printf("%s",Learn_name);
             led1 = 0;
             Learn = 0;
         }