Hello,
I am making one of those remotes that you can use on your smartphones etc to control everything IR and a bit more with the help of an Arduino.
I have created a server in Arduino and can send in the codes and get them to display on a webpage like so:
len: 32
type: NEC
value: 20DF10EF
But when I put them into an IRsend command I get this error:
send_ir_from_web.cpp: In function 'void loop()':
send_ir_from_web:76: error: no matching function for call to 'IRsend::sendNEC(String&, String&)'
E:\arduino-0022\libraries\IRremote/IRremote.h:73: note: candidates are: void IRsend::sendNEC(long unsigned int, int)
I'm guessing it has something to do with the wrong datatype. The values as strings from the URL. What format should the values be in, and how do I get them to that value?
Also in all IRlibrary samples the values are written as: 0x20DF10EF. Once again, me strings and arduino, I cant just add 0x to the beginning right? I have to convert to HEX somehow?
Anyways, thanks in advance for any advice, and hope I can show you some finished result soon
/Kristian