Announcement

Collapse
No announcement yet.

Sensor data unable to write on to the SD file.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sensor data unable to write on to the SD file.

    I am currently trying to save data onto the SD card. I was able to store a string "HELLO WORLD" onto the SD file. When I call a data and store it on the SD card, I receive a message on the text file that I don't understand.
    The attached file is a sample code that I created, and also contains result.
    Please help.
    Attached Files
    Last edited by Shurp; 4 weeks ago.

  • #2
    Hi,

    I've attached the modified code below based on the screenshot you provided. If you looked at the modified code, I've created a variable character array to which the converted String Timestamp will be stored. Please try it on your end, and let us know if you have other query.
    _4DuinoTestText.ino

    Kind regards,
    Sherwin

    Comment


    • Shurp
      Shurp commented
      Editing a comment
      Is the "4DuinoTestTextConst.h" important? I commented "4DuinoTestTextConst.h" and I was still able to run the code and get the result.
      Last edited by Shurp; 4 weeks ago.

    • sherwin4D
      sherwin4D commented
      Editing a comment
      Hi,

      If you are using Arduino IDE, you may comment it out. But if you are using different IDE(WS4), you will have to include it.

      Best regards,
      Sherwin

  • #3
    Thank you for posting your information. I was able to get it working.

    Comment


    • sherwin4D
      sherwin4D commented
      Editing a comment
      Hi,

      Thank you for the update. Glad you you got it working. Should you have further queries, feel free to let us know.

      Best regards,
      Sherwin
Working...
X