Home > other >  To design a small white online o PSoC 5 lp project
To design a small white online o PSoC 5 lp project

Time:10-23

A. LED4 ~ LED1 present water light effect;
B. correctly judge button SW2, SW3 press and loosen the state (and eliminate key press action by means of time sampling jitter);
C. SW2, is used to adjust the brightness of the light water, 1 file per short according to increase or decrease when the next brightness, long press every during a certain time (e.g., 0.5 seconds) automatic increasing or decreasing brightness "1";
D. SW3, is used to adjust light water circulation speed, every short according to increase or decrease when the next shift speed, long press every during a certain time (e.g., 0.5 seconds) 1 file automatically increasing or decreasing speed;
E. the first line of the LCD display the brightness of the light water gear, the second line shows the speed of light water gear, (4) the above function can complete software implementation, also can consider to use way of hardware features, such as keys away shaking AN60024 (refer to application note), LED display,
  • Related