Skip to content

Commit 206f188

Browse files
committed
update OFL license
1 parent fd6bb84 commit 206f188

File tree

3 files changed

+8
-105
lines changed

3 files changed

+8
-105
lines changed

LICENSES/OFL.txt

Lines changed: 0 additions & 97 deletions
This file was deleted.

examples/displayio_layout_flip_input_simpletest.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
import time
1212
import board
1313
import displayio
14+
import adafruit_touchscreen
15+
from adafruit_bitmap_font import bitmap_font
1416
from adafruit_displayio_layout.widgets.flip_input import FlipInput
1517

16-
from adafruit_bitmap_font import bitmap_font
17-
import adafruit_touchscreen
1818

1919
display = board.DISPLAY # create the display on the PyPortal,
2020
# otherwise change this to setup the display
@@ -92,16 +92,16 @@
9292
arrow_height=30,
9393
arrow_width=20,
9494
horizontal=True,
95-
animation_time=0.6, # add more time since the animation covers a longer distance
95+
animation_time=0.6, # add more time since the animation covers a longer distance
9696
)
9797

9898
# Pick an interesting date to start
9999
# You can set the value by direct integer indexes of the list or by one of the strings
100100
# Here are three ways to set the values
101-
my_flip1.value = 9 # use direct integer indexing to set the value to the 10th month
102-
my_flip2.value = my_flip2.value_list.index("21") # find the index yourself by
103-
# searching the value_list
104-
my_flip3.value = "2015" # or set the value based on a string that is in the value_list
101+
my_flip1.value = 9 # use direct integer indexing to set the value to the 10th month
102+
my_flip2.value = my_flip2.value_list.index("21") # find the index yourself by
103+
# searching the value_list
104+
my_flip3.value = "2015" # or set the value based on a string that is in the value_list
105105

106106
# Create the group to display and append the FlipInput widgets
107107
my_group = displayio.Group(max_size=3)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
SPDX-FileCopyrightText: 2020 keshikan (https://www.keshikan.net)
22

3-
SPDX-License-Identifier: OFL
3+
SPDX-License-Identifier: OFL-1.1

0 commit comments

Comments
 (0)