I managed to fix the problem.
For anyone ever to have this problem, you have to include begin transaction so the spi protocol is initialized properly ( I think this is already fixed in the v5 code):
void COBDSPI::write(const char* s)
{
#ifdef DEBUG
debugOutput(s);
#endif
delay(1);
digitalWrite ...
Search found 2 matches
- Fri Jul 20, 2018 5:52 pm
- Forum: Freematics Software
- Topic: Problems with data logger
- Replies: 1
- Views: 5179
- Fri Jul 20, 2018 1:45 am
- Forum: Freematics Software
- Topic: Problems with data logger
- Replies: 1
- Views: 5179
Problems with data logger
Dear Freematics,
I have recently bought a Freematics one and I was trying to run the data logger example from v4 in github.
For testing purposes I wanted to read the voltage with the getVoltage() function. This seems to work until I mount the sd card. This happens because then sd.open() is ...
I have recently bought a Freematics one and I was trying to run the data logger example from v4 in github.
For testing purposes I wanted to read the voltage with the getVoltage() function. This seems to work until I mount the sd card. This happens because then sd.open() is ...