I putting together a project that uses 4 attiny85's.
3 of these will be used with an sr04 to determine a distance and then convert that distance value to an LED brightness. I know how to do this. This is going to take up 3 of the 5 GPIO pins on each of those 3 attiny's. This leaves 2 free pins on each of these MCU's.
One of those remaining pins is going to go to an RGB LED. So basically each SR04 will be determining the brightness level of one part of the RGB. (Tiny1 is doing the green, Tiny2 the red, and Tiny3 the blue.)
I can do all of the above. My problem is:
I'd like to use the last pin on each of those 3 tinys as an output and send that LED brightness value to the fourth attiny as an input. This is what I can't figure out how to do.
Thanks for any help.