Anbu Kumaran
/
extint
an
Fork of keerthi by
Revision 3:7cf6eff22c0e, committed 2015-06-25
- Comitter:
- anbukumaran
- Date:
- Thu Jun 25 10:13:20 2015 +0000
- Parent:
- 2:f222a223fdb3
- Commit message:
- an
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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)