I am using file = open(logFilename, ‘a’) and file.write(message + ‘\n’) to log data to a file on the SD card.
When I also use recordFile = image.ImageIO(pathFilename, “w”) and recordFile.write(img) to record a video, the log file seems to be corrupted and is empty.
Can OpenMV write data to a log file and record video at the same time?