Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pinguino 32 OTG SD card Datalogger to DIR?
10-05-2013, 04:50 PM,
#1
Pinguino 32 OTG SD card Datalogger to DIR?
Hi everyone.


I have a question regarding the SD library from p32 Target, using Pinguino 32 OTG, the SD card libraries from Olimex and having the X.3 399 compiler.

The libraries work fine for all examples, but how can i use the "DataLoggerOTG.pde" to load a file that is inside a directory, e.g. "logs/datalog1", instead of picking on the root?

I've tried both ways:
Code:
...
u8       filename[]    = "/logs/datalog1.csv";    // should include full path to file
...
u8       filename[]    = "\logs\datalog1.csv";    // should include full path to file
...
Do i need to first load the directory like in the "Dir.pde" example and then Open the file?

Best Regards
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)