compartido / Mbed 2 deprecated PR2EJ8

Dependencies:   mbed-rtos mbed

Fork of PR2EJ8 by MII1SistElec

Files at this revision

API Documentation at this revision

Comitter:
carlospomar
Date:
Wed Nov 08 10:38:38 2017 +0000
Parent:
2:ff26484331d3
Commit message:
practica2ejercicio8

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Nov 08 10:34:06 2017 +0000
+++ b/main.cpp	Wed Nov 08 10:38:38 2017 +0000
@@ -48,9 +48,9 @@
 
 int main()
 {
-    Thread thread1(estado1, NULL, osPriorityNormal, DEFAULT_STACK_SIZE);
-    Thread thread2(estado2, NULL, osPriorityNormal, DEFAULT_STACK_SIZE);
-    Thread thread3(estado3, NULL, osPriorityNormal, DEFAULT_STACK_SIZE);
+    Thread thread1(pulsador1, NULL, osPriorityNormal, DEFAULT_STACK_SIZE);
+    Thread thread2(pulsador2, NULL, osPriorityNormal, DEFAULT_STACK_SIZE);
+    Thread thread3(pulsador3, NULL, osPriorityNormal, DEFAULT_STACK_SIZE);
     while (true) {
         Thread::wait(500);
     }