New answers tagged

0

The new "Sparkfun Redboard Turbo" does have an RTC on pins A5 and AREF


1

Always start by reading the docs. The README of the TM1637 display library gives a short summary of the available functions, then states “Please refer to TM1637Display.h for more information.” It would thus seem the authoritative documentation is the header file itself, which is indeed rich ins structured comments. According to it, the signature of ...


4

I tested your first code line and it outputs a right aligned 136 without colon at my display. (Said I have only a colon at the middle and no decimal points) The 5 at the fist digit (and also the A at your third code line) must have been set somewhere beforehand. The function does not change the unused digit, so it will stay whatever you set it to beforehand ...


0

I took a look at the FabioCuomo-DS3231 library, as I guess that is what you are using, and I saw nothing related to setting those two bits. However, you can take inspiration from the code in the library to implement the functionality yourself. I would try this: void enableAlarmInLowPower(void) { // Read the control register. Wire.beginTransmission(...


1

As @chrisl alread said, you could use the busy pin. Or a simple serial query myDFPlayer.readState(); If the result is something like DFPlayerPlayFinishe the actual track is complete.


0

I ended up deleting my copy of RTCZero and installing a new one via the Arduino IDE library manager. This solved the issue. The difference between my local copy and the upstream one is in the standbyMode() function. I had the following PR merged into my local copy of this function: https://github.com/arduino-libraries/RTCZero/pull/46/files After I ...


0

I figured it out. You must first set the built in arduino RTC using the time library, then set the DS3232 from there. It did not work for my code before because it has to be called outside of the setup function. For instance, I made a function that adjusts the hour: void adjHr() { //hour adjustment function if(millis() >= time_now + period){ ...


Top 50 recent answers are included