Show Posts
Pages: [1]
1  Topics / Device Hacking / Re: Programming the original JP1 remote controls with Arduino on: April 19, 2012, 01:31:24 pm
This sketch fails to compile for me.  I cut and paste the 3 parts from the original email, but get the following errors:

JP1_RemoteCotrol.cpp: In function ‘void send_msg(char*)’:
JP1_RemoteCotrol:73: error: invalid operands of types ‘byte’ and ‘char*’ to binary ‘operator^’
JP1_RemoteCotrol:73: error: in evaluation of ‘operator^=(byte, char*)’
JP1_RemoteCotrol:74: error: invalid conversion from ‘char*’ to ‘byte’
JP1_RemoteCotrol:74: error: initialising argument 1 of ‘void SerTx(byte)’
JP1_RemoteCotrol.cpp: In function ‘void S()’:
JP1_RemoteCotrol:153: error: incompatible types in assignment of ‘byte’ to ‘byte [40]’

Have I missed something, or is there a typo in the original post??
Pages: [1]