GreenPAK Universal
Development Board
Silego Technology Inc.
www.silego.com
10/13/2014
All comparators positive inputs are connected to Pin 6 analog input. When voltage on
positive input is higher than voltage on negative comparator will set logic “1” on its output. In
this project, 3 comparators are used. ACMP0 positive input is 200mV, ACMP1 is 500mV, and
ACMP2 is 800mV. In this case, we will have 4 states:
- all LEDs are off;
-LED_A is on;
-LED_A and LED_B are on;
-All LEDs are on.
If Pin 2 logic
level will be set to “1”; this states will transform into:
- all LEDs are on;
-LED_A and LED_B are on;
-LED_A is on;
-All LEDs are off.
Figure 4-21. GreenPAK3 Designer