Repository navigation
0.2.28
Board fixes
- CoreP4X: the IMU X axis was reversed; the accelerometer and gyroscope X axes are inverted in the board mapping. (by @hlym123, #414)
- External displays (Module Display, Unit OLED / MiniOLED / GLASS / GLASS2 / LCD, Module RCA, Unit RCA):
begin()reset and cleared them regardless ofcfg.clear_display; they now follow the flag like the internal display. (#416) - RX8130 RTC:
begin()enabled backup charging (CHGEN) on every board, so ToughC5 charged its CR2032 primary cell. Charging is now on only where VBAT holds something chargeable (Tab5, StamPLC, StopWatch, PaperMono) and is cleared on the other boards, including a bit left set by an earlier firmware. The bit is cleared only when the internal RTC is initialized (not withcfg.internal_rtc = false). Code that constructsRX8130_Classdirectly gets charging off by default; passtrueas the fourth constructor argument for a rechargeable backup. (#418) - Tab5: periodic RTC timer IRQs are no longer enabled on the built-in RTC.
setTimerIRQ()with a positive period stops any running timer and returns 0, andPower.timerSleep(int seconds)returns without sleeping; usetimerSleep(time)ortimerSleep(date, time). (#419) - RX8130 RTC:
begin()anddisableIRQ()also stop the periodic timer (the IRQ flags are kept forgetIRQstatus()), andsetAlarmIRQ()clears the alarm flag before enabling the alarm interrupt. (#419) Power.timerSleep(time)/timerSleep(date, time): return without sleeping when no RTC is available or the RTC driver reports that the alarm could not be set. (#419)
Audio
- M5Stack Core (internal DAC): a short pop at the start and at the end of each sound. The fade-out was written in whole DAC steps (a staircase of 1-LSB clicks at the default volume), and after about 85 ms of silence I2S and the DAC were stopped, so the next sound stepped the output when they were turned on again. The hold level and the fades now carry the fraction below one DAC step, and I2S keeps running at the zero level for about one second after a sound, so pauses in a melody no longer restart it. (#415)
Requires M5GFX 0.2.35 or later.