File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
CircuitPython_Day_2024_Projects/Qualia_820x320_IO_Countdown Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2024 Liz Clark for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
import os
2
6
import time
3
7
import wifi
6
10
import microcontroller
7
11
import adafruit_connection_manager
8
12
import adafruit_requests
9
-
10
- ## Import either NeoPixel or DotStar, depending on your hardware
11
- # import neopixel
12
- from adafruit_dotstar import DotStar
13
-
14
13
from adafruit_io .adafruit_io import IO_HTTP
15
14
from adafruit_bitmap_font import bitmap_font
16
15
from adafruit_display_text import bitmap_label
17
16
from adafruit_ticks import ticks_ms , ticks_add , ticks_diff
18
17
19
18
## See TZ Identifier column at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
20
19
## If you want to set the timezone, you can do so with the following line:
21
- timezone = "GB"
20
+ timezone = "GB" # Set timezone for UK developers ;)
22
21
# timezone = None # Or instead rely on automatic timezone detection based on IP Address
23
22
24
23
Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2024 Tyeth Gundry for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
def setup_display ():
6
+ # Code taken from Adafruit Qualia ESP32-S3 for RGB-666 Displays Learn Guide - Rectangle Bar 3.2" display
7
+ # https://learn.adafruit.com/adafruit-qualia-esp32-s3-for-rgb666-displays/qualia-rgb666-with-tl032fwv01-3-2-320x820-bar-display
2
8
from displayio import release_displays
3
9
release_displays ()
4
10
You can’t perform that action at this time.
0 commit comments