Add I2CSlave to ov580 master.

Dependencies:   MorseGenerator2

Revision:
14:5590fcd73be4
Parent:
13:2b83989d136c
Child:
15:86cc61deeb3e
--- a/main.cpp	Thu Mar 07 05:03:12 2019 +0000
+++ b/main.cpp	Mon Mar 11 00:14:12 2019 +0000
@@ -124,17 +124,17 @@
 
 
 static float dot_zero_ms = 1;
-static float dot_one_ms = 408;
+static float dot_one_ms = 410;
 static float dot_two_ms = 354;
-static float dot_three_ms = 326;
-static float dot_four_ms = 308;
-static float dot_five_ms = 295;
+static float dot_three_ms = 294;
+static float dot_four_ms = 294;
+static float dot_five_ms = 294;
 static float flood_zero_ms = 1;
-static float flood_one_ms = 609;
-static float flood_two_ms = 542;
-static float flood_three_ms = 507;
-static float flood_four_ms = 484;
-static float flood_five_ms = 468;
+static float flood_one_ms = 610;
+static float flood_two_ms = 420;
+static float flood_three_ms = 270;
+static float flood_four_ms = 270;
+static float flood_five_ms = 270;
 
 /*          THREAD          */
 EventQueue queue;
@@ -548,7 +548,7 @@
 
         flashBrightness_dot[1] = level_dot_max;
 
-        //dot_I2C.write(LM36011_addr,flashBrightness_dot,2,false);
+        dot_I2C.write(LM36011_addr,flashBrightness_dot,2,false);
         wait(.1);
 
         if(flood_timer_number > 700 && flood_timer_number < 1499) {
@@ -577,7 +577,7 @@
 
         flashBrightness_flood[1] = level_flood_max;
 
-        //flood_I2C.write(LM36011_addr,flashBrightness_flood,2,false);
+        flood_I2C.write(LM36011_addr,flashBrightness_flood,2,false);
 
         wait(.1);