Design the following devices:
1. An I2C slave that has a potentiometer and a button. Master should send which one to read. 1 to read potentiometer value between 0-100, 2 to read button state 0 or 1. Then the next byte requested by the master should be that value. Use a global variable to know...