Anbu Kumaran
/
extint
an
Fork of keerthi by
Diff: main.cpp
- Revision:
- 3:7cf6eff22c0e
- Parent:
- 2:f222a223fdb3
diff -r f222a223fdb3 -r 7cf6eff22c0e main.cpp --- a/main.cpp Thu Jun 25 10:06:56 2015 +0000 +++ b/main.cpp Thu Jun 25 10:13:20 2015 +0000 @@ -3,7 +3,7 @@ DigitalOut a(LED1); DigitalOut b(LED2); DigitalOut c(LED3); -DigitalOut p(p9); +DigitalOut p(p6); int main() { @@ -28,14 +28,14 @@ wait(1); } { - if(i*j==0) + if(i*j==1) { - p=1; + p=0; wait(1); } else { - p=0; + p=1; wait(1); } if(i+j==1)