Qwiic OpenLog - Flaky behavior with example script 2

Hi - Am using Windows 10 and a 3.3V Pro Micro Arduino to work with the Qwiic OpenLog (with a 32GB card) and getting flaky results with the example scripts. Have been reliably communicating with a 3.3V I2C accelerometer so I think the Pro Micro is healthy.

Example 2: Formated (using quick format) card then ran the script. Card had config.txt (with some contents) but no other files. Put card back in logger, reapplied power, and ran the script again. Card had config.txt, appendMe.txt and LOG00007.txt.

Why didn’t the log file and appendMe.txt show up after the first time running the script?

Here’s what was in appendMe.txt after the second time the script was run:

"

This is recorded to appendMe.txt

If this file doesn’t exist it is created and

anything sent to OpenLog will be recorded to this file

Note: We can use the F(“”) in sketches to move big print statements into program memory to save RAM

This is recorded to appendMe.txt

If Run OpenLog Append File Test

This is recorded to the default log file

This is recorded to appendMe.txt

If this file doesn’t exist it is created and

anything sent to OpenLog will be recorded to this file

Note: We can use the F(“”) in sketches to move big print statements into program memory to save RAM

"

At first this just looked like two sets of messages written by the script, but then I noticed the line reading “If Run OpenLog Append File Test”. It appears that “Run OpenLog Append File Test” was directed to the serial monitor or log file but showed up in appendMe.txt. Have no clue where the “If” came from.

The log file that showed up after the second running of the script only contained one set of messages.

Did a long format on the SD card and ran the script ONCE. There was a config.txt and appendMe.txt, but no log file.

Here are the contents of there appendMe.txt:

"

This is recorded to appendMe.txt

If this file doesn’t exist it is created andRun OpenLog Append File Test

This is recorded to the default log file

This is recorded to appendMe.txt

If this file doesn’t exist it is created and

anything sent to OpenLog will be recorded to this file

Note: We can use the F(“”) in sketches to move big print statements into program memory to save RAM

"