I'm having great fun tinkering with Picaxe's initally bought an 18X to control my bike light setup with 300LED front light (code done, need to physically finish the lights), but now I'm tinkering with various inputs/outputs/communications to work out wether future projects are feasable, but I'm stuck on something:
I programmed up two 08M's to communicate to each other through serial, one way serial comms through just two wires (ground & signal) works a treat but I couldn't get two-way comms using just two wires working.
My thought on the idea was for each 08M to 'listen' to pin4 and when it goes high use SERIN on pin4, but to stop pin4 input from floating and accidentally triggering the SERIN command I had to ground it with a 10k resistor and now the serial signal doesn't work.
Does anyone else have an idea how to do two way comms with just two wires?
I programmed up two 08M's to communicate to each other through serial, one way serial comms through just two wires (ground & signal) works a treat but I couldn't get two-way comms using just two wires working.
My thought on the idea was for each 08M to 'listen' to pin4 and when it goes high use SERIN on pin4, but to stop pin4 input from floating and accidentally triggering the SERIN command I had to ground it with a 10k resistor and now the serial signal doesn't work.
Does anyone else have an idea how to do two way comms with just two wires?