K Abhisheik
/
sevensegment
fghfg
Fork of HelloWorld by
main.cpp
- Committer:
- Abhisheik
- Date:
- 2015-07-16
- Revision:
- 2:595052335613
- Parent:
- 0:fb6bbc10ffa0
File content as of revision 2:595052335613:
#include "mbed.h" DigitalOut a(p8),b(p12),c(p11),d(p5),e(p6),f(p7),g(p9); int main() { a=0;b=0;c=0;d=0;e=0;f=0;g=1; wait(1); a=1;b=0;c=0;d=1;e=1;f=1;g=1; wait(1); a=0;b=0;c=1;d=0;e=0;f=1;g=0; wait(1); a=0;b=0;c=0;d=0;e=1;f=1;g=0; wait(1); a=1;b=0;c=0;d=1;e=1;f=0;g=0; wait(1); a=0;b=1;c=0;d=0;e=1;f=0;g=0; wait(1); a=0;b=1;c=0;d=0;e=0;f=0;g=0; wait(1); a=0;b=0;c=0;d=1;e=1;f=1;g=1; wait(1); a=0;b=0;c=0;d=0;e=0;f=0;g=0; wait(1); a=0;b=0;c=0;d=0;e=1;f=0;g=0; wait(1); }