Hisyam Sulaiman
/
lab1_led
lab1
main.cpp@0:f5005147a60b, 2018-05-17 (annotated)
- Committer:
- HisyamSulaiman
- Date:
- Thu May 17 06:57:01 2018 +0000
- Revision:
- 0:f5005147a60b
lab1;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
HisyamSulaiman | 0:f5005147a60b | 1 | #include "mbed.h" |
HisyamSulaiman | 0:f5005147a60b | 2 | |
HisyamSulaiman | 0:f5005147a60b | 3 | BusOut Pattern(D9,D13); |
HisyamSulaiman | 0:f5005147a60b | 4 | |
HisyamSulaiman | 0:f5005147a60b | 5 | |
HisyamSulaiman | 0:f5005147a60b | 6 | int main() { |
HisyamSulaiman | 0:f5005147a60b | 7 | while(1){ |
HisyamSulaiman | 0:f5005147a60b | 8 | Pattern = 1; |
HisyamSulaiman | 0:f5005147a60b | 9 | wait(0.2); |
HisyamSulaiman | 0:f5005147a60b | 10 | Pattern = 10; |
HisyamSulaiman | 0:f5005147a60b | 11 | wait(0.2); |
HisyamSulaiman | 0:f5005147a60b | 12 | } |
HisyamSulaiman | 0:f5005147a60b | 13 | } |