diff --git a/content/hardware/03.nano/carriers/nano-connector-carrier/tutorials/getting-started-nano-connector-carrier/content.md b/content/hardware/03.nano/carriers/nano-connector-carrier/tutorials/getting-started-nano-connector-carrier/content.md index b30444f240..5a297f4795 100644 --- a/content/hardware/03.nano/carriers/nano-connector-carrier/tutorials/getting-started-nano-connector-carrier/content.md +++ b/content/hardware/03.nano/carriers/nano-connector-carrier/tutorials/getting-started-nano-connector-carrier/content.md @@ -471,7 +471,7 @@ void loop() { unsigned long currentTime = millis(); if (currentTime - lastRecordTime >= RECORD_INTERVAL) { // Open the file for writing - dataFile = SD.open(fileName, FILE_APPEND); + dataFile = SD.open(fileName, FILE_WRITE); if (dataFile) { // Write timestamp and movement data to CSV file @@ -649,4 +649,4 @@ For additional project inspiration, check out the Arduino Project Hub or join th ## Conclusion -The Nano Connector Carrier transforms your Nano family board into a versatile platform capable of interfacing with different sensors, displays and storage options. By eliminating complex wiring and providing standardized pinouts, the Nano Connector Carrier allows you to focus on developing your application rather than dealing with connection issues. \ No newline at end of file +The Nano Connector Carrier transforms your Nano family board into a versatile platform capable of interfacing with different sensors, displays and storage options. By eliminating complex wiring and providing standardized pinouts, the Nano Connector Carrier allows you to focus on developing your application rather than dealing with connection issues.