Morse code via digitital pin with Arduino

Hello guys, :slight_smile:

I'm designing a basic robot but it also has 4xAtmega328 inside and they need to comunecate but i've i dont wanne use TX or PX is it possible to communecate trough a digitalpin with some kinda morse code? like if digital pin 1 is high and 500ms low and then 1000ms high set pin 13 high?

Thank you! :slight_smile:

Communication using characters on SoftwareSerial would be easier to implement than Morse code.

Have you looked into I2C / TWI ? That's what it was designed for (Inter Integrated Circuit Communication).

Have you looked into I2C / TWI ? That's what it was designed for (Inter Integrated Circuit Communication).

I2C implies a master-slave configuration, I think.
Serial would be peer-to-peer.