wafa_ath
DIIDevHeads IoT Integration Server
•Created by Dtynin on 7/30/2024 in #firmware-and-baremetal
How to Implement Real-Time Logging for Pressure Data and Resolve SD Card Write Errors?
Hey @Dtynin
Try to Put sensor reading and logging in a loop with a delay. Also Your code doesn't use the MCP2515 CAN controller. If you want to transmit the sensor data over CAN, you'll need to set up the CAN device and send messages.
Consider using a RAM buffer before writing to SD for better performance.
3 replies