Hi
I am working on a simple data loggers project and considering to use Teensy 2.0 (32u4 uP) with external flash W25Q64FV and using the "SerialFlash" library in Arduino IDE.
I am familiar with the limitation. Looking at the examples i can see file transfers but i do not see a Read/Write of single value. Will this library work to log single discrete values to the flash.
For example if i would like to transfer floating point 2.15 to a file "Data.bin" i would first open with "file = SerialFlash.open("Data.bin");" and then place the value in a single point array "buffer" and use "file.write(buffer, 256);".
Is this correct?
Is there an example code with "write" command for single floating or integer number for Arduino IDE ?
Thanks
I am working on a simple data loggers project and considering to use Teensy 2.0 (32u4 uP) with external flash W25Q64FV and using the "SerialFlash" library in Arduino IDE.
I am familiar with the limitation. Looking at the examples i can see file transfers but i do not see a Read/Write of single value. Will this library work to log single discrete values to the flash.
For example if i would like to transfer floating point 2.15 to a file "Data.bin" i would first open with "file = SerialFlash.open("Data.bin");" and then place the value in a single point array "buffer" and use "file.write(buffer, 256);".
Is this correct?
Is there an example code with "write" command for single floating or integer number for Arduino IDE ?
Thanks