Hi, I would like to have a very basic one way communication channel between an Arduino (mega) and a bare bones ATtiny85. I only need to send stuff one way (from the Arduino to the ATtiny) and I don’t need to send any actual or sophisticated “data”, but more like four different signals that will represent “states”. So, as long as the attiny can distinguish between 4 different cases, of what arduino sends to it, that’s totally fine with me.
At the moment I am thinking of sending a PWM signal (either with an analogWrite or using the Servo.write function) from the arduino and “reading” using pulseIn at the attiny side.
The connection should be done with a simple short wire and using any kind of Serial communication is not acceptable.
Any other better suggestions or objections?