Skip to content

Commit 8198a00

Browse files
committed
Detect oximeter in menuAttachedDevices. Add v1.11 binaries.
1 parent 9f5984b commit 8198a00

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed
236 KB
Binary file not shown.
235 KB
Binary file not shown.

Firmware/OpenLog_Artemis/OpenLog_Artemis.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
(done) Add support for exFAT. Requires v2.0.6 of Bill Greiman's SdFat library. https://github.com/sparkfun/OpenLog_Artemis/issues/34
9494
(done) Add minimum awake time: https://github.com/sparkfun/OpenLog_Artemis/issues/83
9595
(done) Add support for the Pulse Oximeter: https://github.com/sparkfun/OpenLog_Artemis/issues/81
96-
(won't do) Add support for the Qwiic Button. The QB uses clock-stretching and the Artemis really doesn't enjoy that...
96+
(won't do?) Add support for the Qwiic Button. The QB uses clock-stretching and the Artemis really doesn't enjoy that...
9797
*/
9898

9999
const int FIRMWARE_VERSION_MAJOR = 1;

Firmware/OpenLog_Artemis/menuAttachedDevices.ino

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,15 @@ void menuAttachedDevices()
416416
settings.useGPIO32ForStopLogging = false;
417417
detachInterrupt(digitalPinToInterrupt(PIN_STOP_LOGGING)); // Disable the interrupt
418418
}
419+
420+
recordSystemSettings(); //Record the new settings to EEPROM and config file now in case the user resets before exiting the menus
421+
422+
if (detectQwiicDevices() == true) //Detect the oximeter
423+
{
424+
beginQwiicDevices(); //Begin() each device in the node list
425+
configureQwiicDevices(); //Apply config settings to each device in the node list
426+
recordDeviceSettingsToFile(); //Record the current devices settings to device config file now in case the user resets before exiting the menus
427+
}
419428
}
420429
else
421430
SerialPrintln(F("\"Detect Bio Sensor Pulse Oximeter\" aborted"));

0 commit comments

Comments
 (0)