I need to send serial data from one micro-controller to another.
Both chips will be same type , either 18M2 or 20M2
Page 204 and 208 of manual 2 describes the serout and serin commands
SEROUT pin, baudmode, (data)
e.g. serout 7,N2400,(b1)
would transmit the data stored in variable b1 out over Pin7,
but over which port B or C?
Picaxe 14M, 18M, 20M have ports B and C.
For example to transmit or receive on Port C pin1 of a Picaxe 18M2
would the commands be:
serout C.1,N2400,(b1)
serin C.1,N2400,(b1)
Thanks in advance.
Both chips will be same type , either 18M2 or 20M2
Page 204 and 208 of manual 2 describes the serout and serin commands
SEROUT pin, baudmode, (data)
e.g. serout 7,N2400,(b1)
would transmit the data stored in variable b1 out over Pin7,
but over which port B or C?
Picaxe 14M, 18M, 20M have ports B and C.
For example to transmit or receive on Port C pin1 of a Picaxe 18M2
would the commands be:
serout C.1,N2400,(b1)
serin C.1,N2400,(b1)
Thanks in advance.