Simple Micro Dot pHAT Arduino library
Copyright (C) 2020 Martin Lukasek [email protected]
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Connect 5V (pin 2 or 4) of Micro Dot pHAT to 5V pin of M5Stack
Connect GND (pin 6) of Micro Dot pHAT to GND pin of M5Stack
Connect SDA (pin 3) of Micro Dot pHAT to SDA pin of M5Stack (GPIO 21)
Connect SCL (pin 5) of Micro Dot pHAT to SCL pin of M5Stack (GPIO 22)
https://github.com/clarktans/microdot-clock
TimeNTP_ESP8266WiFi.ino
Example showing time sync to NTP time source
If you find my project useful, I will appreciate if you donate me few bucks for further development or buy me a glass of beer or wine 🍷.
I also collect and repair vintage 8-bit computers, so if you have some really old computer, I could give it a new home and care 😄. Thank you!