nowornever

LED 연습 문제 스스로 만들고 실험해보기 본문

Study

LED 연습 문제 스스로 만들고 실험해보기

JohnnyKoo 2013. 4. 30. 18:56

LED Shift 를 마스터 ??? 해보자.


자 이제 문제를 만들어 보자.


1. LED ON/OFF with 1sec delay

2A. LED ON consecutively 1ON -> 2ON -> ----8ON

2B.                                   ''                                and come back to 1ON

3A. LED ON Gradually 1ON -> 1ON2ON -> 1ON2ON3ON ...

4. button-1 then LED shift (rising edge, and falling edge)

5. button-1 then LED bar increase, and come back

6. button-1 LED bar increase and decrease with button still at 1

7. button1-1 LED shifht to the right, button2-1 LED shift to the left