Skip to content

Commit 75d848e

Browse files
committed
SD Logging Fix2
- Fixed - SD Logging and Footer Fixed for Daisy and Not Daisy Attached - Added - LED Indication for Successful or Failed SD Card File Creation - LED Indication: + GUI -> Start Streaming Session -> 3 Slow Blinks -> SD File Created Correctly -> then the LED stays Solid Blue (Data Logging started successfully) + GUI Start Session : Indication of 12 Slow Blinks -> then the LED is turned OFF (Data will not be stored in this session) cause : SD File Creation FAILED -> Solution: A. you need to restart the streaming session or B. delete all the previous files form the SD Card or C. format the SD card completely At any case check again for the LED sequence (3 Blinks->ON versus 12 blinks->OFF)
1 parent 489c1fc commit 75d848e

2 files changed

Lines changed: 125 additions & 22 deletions

File tree

examples/DefaultBoard/DefaultBoard.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <OpenBCI_32bit_Library.h>
77
#include <OpenBCI_32bit_Library_Definitions.h>
88

9+
910
// Booleans Required for SD_Card_Stuff.ino
1011
boolean addAccelToSD = false; // On writeDataToSDcard() call adds Accel data to SD card write
1112
boolean addAuxToSD = false; // On writeDataToSDCard() call adds Aux data to SD card write
@@ -14,8 +15,11 @@ boolean SDfileOpen = false; // Set true by SD_Card_Stuff.ino on successful file
1415
void setup() {
1516
// Bring up the OpenBCI Board
1617
board.begin();
18+
1719
// Bring up wifi
1820
wifi.begin(true, true);
21+
22+
1923
}
2024

2125
void loop() {

0 commit comments

Comments
 (0)