Test Steps

  1. Build the project and load the .hex file into the device.
  2. Make the arrangements on STK600 as described in General Instructions to Test the Code on STK600.
  3. Adjust the voltage applied to PC0 and check whether the LED indication is updated depending on the voltage.
  4. If the voltage provided on PC0 is higher than ~0.5V, LED0 connected to PB0 will remain OFF, otherwise LED0 will remain ON. LED1 connected to PB1 will always twinkle indicating that the code is running.