MII1SistElec
/
PR2EJ9
practica 2 ejercicio 9
Revision 1:bfed5e20331a, committed 2017-11-09
- Comitter:
- carlospomar
- Date:
- Thu Nov 09 15:07:51 2017 +0000
- Parent:
- 0:f2a8b489600e
- Commit message:
- practica 2 ejercicio 9
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Nov 09 14:03:51 2017 +0000 +++ b/main.cpp Thu Nov 09 15:07:51 2017 +0000 @@ -21,9 +21,8 @@ while (true) { if (estado&&(!Sw)) { thread.signal_set(0x1); - //thread.start(thread_led1); } - Led=Sw; + estado=Sw; Thread::wait(200); } } \ No newline at end of file