File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# SPDX-License-Identifier: MIT
4
4
#############################
5
- # This is a trial of the Dial using Adafruit_DisplayIO_Layout
6
- #
5
+ """
6
+ This is a basic demonstration of a Dial widget.
7
+ """
7
8
8
9
import time
9
10
import board
10
11
import displayio
11
12
import terminalio
12
13
from adafruit_displayio_layout .widgets .dial import Dial
13
14
14
- from adafruit_bitmap_font import bitmap_font
15
-
16
15
# Fonts used for the Dial tick labels
17
16
tick_font = terminalio .FONT
18
17
37
36
min_value = minimum_value , # set the minimum value shown on the dial
38
37
max_value = maximum_value , # set the maximum value shown on the dial
39
38
tick_label_font = tick_font , # the font used for the tick labels
40
- tick_label_scale = 2.0 , # the scale factor for the tick label font
39
+ tick_label_scale = 2.0 , # the scale factor for the tick label font
41
40
)
42
41
43
42
my_group = displayio .Group (max_size = 1 )
You can’t perform that action at this time.
0 commit comments