I have this question and I can't find answers!
I wanted to use an AtTiny45V (due to low voltage requirements, it will run at 1.8 volts) to read a PWM from an Arduino, and then process this information.
let's say, I hook up one pin of the AtTiny to an Arduino pin (named
connection), and in the IDE I write:
I want the AtTiny to write high on a port based on the X value.
X = 20 writes high on AtTiny PB5
X = 25 writes high on AtTiny PB5 and PB3
So, basically I want to read the duty cycle from the Arduino PWM and let the AtTiny do something based on duty cycle value.
Is this possible?