sleemanj / DS3231_Simple

An Arduino Library for EASY communication with DS3231 I2C RTC Clock and Atmel AT24C32 I2C EEPROM commonly found on the same board. Implements setting, getting the time/date, setting, checking and clearing alarms, and dead-easy circular-buffered logging of data with timestamp.
MIT License
82 stars 25 forks source link

Update to include missing #define _BH #4

Open MicahStevens opened 7 years ago

MicahStevens commented 7 years ago

Master doesn't include the _BH define. Adding it to the header file so examples compile.

sleemanj commented 7 years ago

_BV is defined by AVR libc itself, are you using a non-avr platform and it doesn't define _BV?

Any non-avr Arduino IDE platform/core/board should probably define it also for compatibility rather than re-define it in each library.

Doki76 commented 4 years ago

I have this issue as well when you add your Lib to Arduino Web editor you get the issue that it says _BV not defined.