Compare commits
1 commit
remove-bad
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
974d5e6656 |
2 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ Introduction
|
||||||
:alt: Documentation Status
|
:alt: Documentation Status
|
||||||
|
|
||||||
.. image :: https://img.shields.io/discord/327254708534116352.svg
|
.. image :: https://img.shields.io/discord/327254708534116352.svg
|
||||||
:target: https://discord.gg/nBQh6qu
|
:target: https://adafru.it/discord
|
||||||
:alt: Discord
|
:alt: Discord
|
||||||
|
|
||||||
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_DS3231/workflows/Build%20CI/badge.svg
|
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_DS3231/workflows/Build%20CI/badge.svg
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ rtc = adafruit_ds3231.DS3231(i2c)
|
||||||
days = ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
|
days = ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
|
||||||
|
|
||||||
|
|
||||||
|
# pylint: disable-msg=bad-whitespace
|
||||||
# pylint: disable-msg=using-constant-test
|
# pylint: disable-msg=using-constant-test
|
||||||
if False: # change to True if you want to set the time!
|
if False: # change to True if you want to set the time!
|
||||||
# year, mon, date, hour, min, sec, wday, yday, isdst
|
# year, mon, date, hour, min, sec, wday, yday, isdst
|
||||||
|
|
@ -35,6 +36,7 @@ if False: # change to True if you want to set the time!
|
||||||
rtc.datetime = t
|
rtc.datetime = t
|
||||||
print()
|
print()
|
||||||
# pylint: enable-msg=using-constant-test
|
# pylint: enable-msg=using-constant-test
|
||||||
|
# pylint: enable-msg=bad-whitespace
|
||||||
|
|
||||||
# Main loop:
|
# Main loop:
|
||||||
while True:
|
while True:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue