Hi ALL
I've got a weigand card reader working on a Nano and want to send the keyfob ID to Homeseer.
Key is in decimal and is 7 numbers long ie: 1234567
I've tried:
unsigned long key;
key = (wg.getcode()); this gets the value of the key using the weigand library, I can print this to the serial console to verify, that works.
Now I want to send key as a "long", appears I cant simply send
SendToHS(1,key)
Could anyone please give some insight as to best way to send the long number.
Thanks..Pete
I've got a weigand card reader working on a Nano and want to send the keyfob ID to Homeseer.
Key is in decimal and is 7 numbers long ie: 1234567
I've tried:
unsigned long key;
key = (wg.getcode()); this gets the value of the key using the weigand library, I can print this to the serial console to verify, that works.
Now I want to send key as a "long", appears I cant simply send
SendToHS(1,key)
Could anyone please give some insight as to best way to send the long number.
Thanks..Pete