Jump to content
43oh

Kross

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. Good morning. I have a DS3231 and I want do hibernate Tiva C and wake up It with the rtc alarm. I did the alarm configuration, but, I couldn't configurate the hibernation module using Energia IDE. The microcontroller will has some sensors and sd card. So, It has a cycle: wake up (with rtc alarm) > read the sensors > write the data > hibernate ^------------------------------------------------------------------------------
  2. the _BV is a macro defined here http://www.atmel.com/webdoc/AVRLibcReferenceManual/group__avr__sfr_1ga11643f271076024c395a93800b3d9546.html. (I searched a solution during 3 hours) I was having the same problem with this library, so I've added these lines: #define _BV(bit) \ (1 << (bit)) in DS3231RTC.h and tcharam! it works. I've to added time.h (It was found here http://www.pjrc.com/teensy/td_libs_Time.html)in /<User>/Documents/Energia/Libraries I was setting to: Wire.begin(); and Wire.setModule(0); cause I'm used the SCL(0) and SDA(0) in my launchpad. References here: http
×
×
  • Create New...