This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432 + RTC

Other Parts Discussed in Thread: ENERGIA

Hi guys,

For my datalogger project, I used the RTC Energia Library embeddedcomputing.weebly.com/date-and-time-library.html.

For my programm I want to write the data, which are written on the Serial communication, on my SD Card with a sprintf() function.

But when I tried to write the data, I get the error that the stringDataTime(myEpochRTC) couldn't converted to String.

Does anybody know how to deal with that?

LG,

Chris

  • Hi Chris,

    You have to first use the function convertEpoch2Structure to convert myEpochRTC to a time_t value that can then be converted to a String. This is based on the following example code: github.com/.../CC3200_NTP.ino

    FYI sometimes Energia-specific questions are best asked on the 43oh Energia forum: forum.43oh.com/.../

    I know that the author of this library, Rei Vilo, has been quite active on the 43oh forum in the past.

    Regards,
    Ryan

**Attention** This is a public forum