Problem
1. Write a program to store 0 to 255 in the first block of the 24LC08B of your demo board and then, staying in an infinite loop, read out one value from 24LC08B sequentially every half second and display the value on eight LEDs of the demo board.
2. Connect the DS1631A to the 12C bus of your PIC18 demo board. Write a program to set up the high and low temperature trip points to 40 "C and 20 "C, respectively. Whenever the temperature goes above 40 "C, turn on the alarm (speaker). Turn off the alarm when the temperature drops below 20°C. Display the temperature on the LCD display and update the display once every second.