I am trying to use OpenLog for one project with Teensy 3.1. I am using several functions from this example below to reset openlog (via pin 6 set of resetOpenLog).
OpenLog_ReadExample: https://github.com/sparkfun/OpenLog...s/OpenLog_ReadExample/OpenLog_ReadExample.ino
When I have my teensy with OpenLog connected to PC via usb, OpenLog creates only one file and writes everything there, just the way I want it to do. When I keep it on battery power, I get like 10-20 files after few minutes. So I am guessing openlog somehow keeps resetting itself. I also think its not the power issue, since if I am not using those functions for resetting openlog, OpenLog writes file to new single file after I insert SD-Card after it is in the part of the program for doing data recording. It would have worked for me, but I would like to have sd-card in OpenLog, and then once my teensy is powered on and ready to use, I could start data recording with command instead of manually triggering it by insert of SD-card.
Is it the reset pin that I picked that can be a problem? (pin 6)
Does anyone knows what could be my problem with OpenLog?
OpenLog_ReadExample: https://github.com/sparkfun/OpenLog...s/OpenLog_ReadExample/OpenLog_ReadExample.ino
When I have my teensy with OpenLog connected to PC via usb, OpenLog creates only one file and writes everything there, just the way I want it to do. When I keep it on battery power, I get like 10-20 files after few minutes. So I am guessing openlog somehow keeps resetting itself. I also think its not the power issue, since if I am not using those functions for resetting openlog, OpenLog writes file to new single file after I insert SD-Card after it is in the part of the program for doing data recording. It would have worked for me, but I would like to have sd-card in OpenLog, and then once my teensy is powered on and ready to use, I could start data recording with command instead of manually triggering it by insert of SD-card.
Is it the reset pin that I picked that can be a problem? (pin 6)
Does anyone knows what could be my problem with OpenLog?