Project:
Write code for Atmel ATTiny85 microcontroller. This code needs to do the following:
1. Obtain I2C address from Master controller. There will be a series of controllers, and as each slave gets its address from the master, it will turn on the next slave in the chain using an IO pin.
2. Control 3 IO pins, turning them on and off in response to messages from the I2C master.
3. Sample 1 A/D channel
4. Report value of A/D to master when requested.