Mappeoppgave 1. / Mbed 2 deprecated Mappeoppgave2-teraterm_funksjon

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mortenc
Date:
Tue Mar 24 09:03:38 2015 +0000
Parent:
0:33e3deecd2b1
Commit message:
.;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Mar 17 10:10:05 2015 +0000
+++ b/main.cpp	Tue Mar 24 09:03:38 2015 +0000
@@ -164,12 +164,14 @@
 
 void Test3 (int verdi)
 {
-    testNR3.attach(&test3funksjon, 2.0);
+    testNR3.attach(&test3funksjon, 120.0);
 }
 
 void test3funksjon ()
 {
     
+    transistor1LED = !transistor1LED;
+    transistor2LED = !transistor2LED;
     transistor3LED = !transistor3LED;
     transistor1 = !transistor1;
     transistor2 = !transistor2;