Ana Lukic / Mbed 2 deprecated mbed_4-bit_counter_threads

Dependencies:   mbed-rtos mbed

Files at this revision

API Documentation at this revision

Comitter:
Heidi070221
Date:
Sun Apr 06 00:03:12 2014 +0000
Parent:
0:499187cdf585
Commit message:
More user friendly variable names.:)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Apr 05 23:56:30 2014 +0000
+++ b/main.cpp	Sun Apr 06 00:03:12 2014 +0000
@@ -19,9 +19,9 @@
 } 
 
 int main() {
-    int niz[4] = {0,1,2,3};
+    int arr[4] = {0,1,2,3};
     for (int i = 0; i<4; i++) {
         myled[i] = 1;
-        thread_led[i] = new Thread(start_blink, &niz[i]);
+        thread_led[i] = new Thread(start_blink, &arr[i]);
     }   
 }