remote read a pin
Archiver
Posts: 46,084
I'm setting up a RS485 network and all is going cool so far. But I
want to send a command to read, say PIN6 on a BS1 but I can't figure
out how to read just the pin (when the pin number is passed as a
variable from another stamp) Outside of reading ALL the pins and
doing a mask on the other end (memory limit on the BS1)
Getting close to upgrading the the Pro compiler from Micro
Engineering Labs. (have an *old* copy of the basic version)
thanks
Dave
ps. Did anyone ever make a serial programer for the BS1?
want to send a command to read, say PIN6 on a BS1 but I can't figure
out how to read just the pin (when the pin number is passed as a
variable from another stamp) Outside of reading ALL the pins and
doing a mask on the other end (memory limit on the BS1)
Getting close to upgrading the the Pro compiler from Micro
Engineering Labs. (have an *old* copy of the basic version)
thanks
Dave
ps. Did anyone ever make a serial programer for the BS1?
Comments
b5 = pins & %01000000 / 64
debug b5 ' prints 0 or 1
>I'm setting up a RS485 network and all is going cool so far. But I
>want to send a command to read, say PIN6 on a BS1 but I can't figure
>out how to read just the pin (when the pin number is passed as a
>variable from another stamp) Outside of reading ALL the pins and
>doing a mask on the other end (memory limit on the BS1)
>
>Getting close to upgrading the the Pro compiler from Micro
>Engineering Labs. (have an *old* copy of the basic version)
>thanks
>Dave
>
>
>ps. Did anyone ever make a serial programer for the BS1?