roberttidey / LightwaveRF

Arduino Libraries for LightwaveRF 433MHz rx and tx
57 stars 16 forks source link

Cant compile LwTxTest #7

Closed Farstucker closed 8 years ago

Farstucker commented 8 years ago

Hi

I compiled and uploaded LwRxTest, used my siemens remote and got some HEX number in the serial monitor.

When i open LwTxTest and put the code into "byte msg[] = { ... }" i get an error compiling it, saying that the letters were not declared in the scope.

I am trying to build a LightwaveRF receiver so any help would be greatly appreciated!

Thanks

Will

roberttidey commented 8 years ago

LwRxTest prints out messages received as a hex string.

LwTxTest has the byte msg[] place to put the test message in but by default you would enter the decimal equivalents of those numbers, If you want to put in the hex digits then you would need to precede each one with 0x. So if you wanted to transmit a hex A then either put 10 or put 0xA

Farstucker commented 8 years ago

Thank you!