Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Request: RTC and Push Buttons #36

Open
febalci opened this issue Feb 23, 2021 · 1 comment
Open

Request: RTC and Push Buttons #36

febalci opened this issue Feb 23, 2021 · 1 comment

Comments

@febalci
Copy link

febalci commented Feb 23, 2021

Sorry, it seems the forum is now working... I have 2 questions:

  1. Is there any plans for RTC usage, like DS3231? I think that might ease the network traffic.

  2. Can we use regular push buttons instead of touch sensors?

Thanks for the fantastic work, i spent 2 weeks to write a DIY LaMetric clock and i found out your awesome AWTRIX just after that, happily throw all my work to trash bin, lol.

@santiagopm
Copy link

Hello I'm using now a NodeMCU ESP8266 standard board with regular pushbuttons without many problems. You must take care with the button connected to D8 pin. That button must be connect to D8 pin and to 3.3v pin to work properly. Other thing I changed was the checkTaster function because the logic to get the state of the buttons must be this:
tasterState[0] = digitalRead(tasterPin[0]); //D0 pin
tasterState[1] = digitalRead(tasterPin[1]); //D4 pin
tasterState[2] = !digitalRead(tasterPin[2]); //D8 pin

I hope this work for you too.

About the RTC usage I think also that could be something interesting, anyway I thing the clock app are not requesting the time very often.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants