1. Fabien Royer
  2. Nwazet.GO

Commits

Fabien Royer  committed c11521e

DAQ module uber-sample tweak:
. commented out the lines involving the I2C sensors by default
. Moved the daq.reboot() call to the very end of the sample, otherwise the last call to Log() throws an exception

  • Participants
  • Parent commits f17bcf9
  • Branches default

Comments (0)

Files changed (1)

File Samples/DAQmodule/Program.cs

View file
  • Ignore whitespace
                 DigitalInputInterruptTest();
                 
                 //Uncomment this section only if you have these I2C sensors connected to the DAQ module
-                I2cHIH613xTest();
-                I2cBmp085Test();
-                I2cTSL2561Test();
+                //I2cHIH613xTest();
+                //I2cBmp085Test();
+                //I2cTSL2561Test();
 
                 UsartTest();
                 RtcBackupRegistersTest();
                 Log(">>>UNCAUGHT EXCEPTION: " + e.Message);
             }
 
+            Log("Reboot()");
             daq.Reboot();
-            Log("Reboot()");
         }
         public static void MultiGpioWriteTest() {
             Log("MultiGpioWriteTest begin");