Mappeoppgave 1. / Mbed 2 deprecated Mappeoppgave2-teraterm_funksjon

Dependencies:   mbed

Revision:
1:67ff37605839
Parent:
0:33e3deecd2b1
--- 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;