Hi, so I had help from a friend and have found a way to save to the SD car while also having a stable frequency rate. I would like to share it with everyone just in case someone encounter the same problem as I am.
...
Okay, thanks. It's more clearer now and I've changed the code. There is no error when I compiled it but I tried printing the sensor values using the code below.
if (count > 0)
{
// write to file
...
I have tried your code but there's an error in #define SD_CONFIG SdioConfig(FIFO_SDIO). Is that a library that I need to download? Where can I download it?
I was expecting a sampling rate that can acquire both...
Thank you! Your suggestions work! Just a quick question, is there a way to add an id and a column title? I am also wondering if using an SD card to record a data would have a fix frequency sampling?
Nothing happens when I try to comment my serial.print in the loop function and tried the code that you suggested. The serial monitor didn't show anything.
Hi, thank you for your reply. I realized that the dologger() function is not right. But I had seen it from a forum, he said that it works for him. I thought it would work for me too. Is there any suggestion on how I...
I see, thank you for the suggestion. I will keep that in mind. Actually I should have establish EMG as an integer since the sensors reading didn't have any decimals.
I have an ongoing project using Teensy 3.5 as a DAQ and I would like to acquire values of two sensors and its time stamp/ millis(). The sensors I'm using is Olimex Shield-EKG/EMG Rev. B for my EMG data and optical...
Thank you for replying. I've tried your code but it doesn't have any effect. It was saving empty csv files instead and there were a lot of it. When I run your code, I have this warning.
SaveToSDCard: In function...
Hi, I am trying to use Teensy 3.5 to write data that I acquire from two sensors (encoder and an EMG). I found that there are previous forum mentioning about this too and I've also tried it. I tried changing the code...