I searched the forum and did not find any post about this, sorry if I missed it.
I am not sure where this should be posted.
It would be nice if the IRIN command had a second input parameter DEVICE.
This would pair nicely with the IROUT command.
Where the IRIN command reads all IR inputs but if the device variable is not requested the data is ignored if the device is not equal to 1. This would make the command backwards compatible, and make the command much more functional in comunicating with other Picaxes in a group.
for example the lsb of device could be used as msb for variable to get 0 - 255 as a data input and still allow 16 modules to talk to each other.
I am not sure where this should be posted.
It would be nice if the IRIN command had a second input parameter DEVICE.
This would pair nicely with the IROUT command.
Code:
IRIN [timeout, address,] pin, [B][device],[/B]variable
for example the lsb of device could be used as msb for variable to get 0 - 255 as a data input and still allow 16 modules to talk to each other.