Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
st7789_mpy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
st7789_mpy
Commits
b6d9c271
Commit
b6d9c271
authored
Mar 23, 2021
by
Russ Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor example program cleanup
parent
3090405b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
25 deletions
+2
-25
examples/PYBV11/hello.py
examples/PYBV11/hello.py
+2
-1
examples/TWATCH-2020/bitarray.py
examples/TWATCH-2020/bitarray.py
+0
-4
examples/TWATCH-2020/fonts.py
examples/TWATCH-2020/fonts.py
+0
-4
examples/TWATCH-2020/hello.py
examples/TWATCH-2020/hello.py
+0
-4
examples/TWATCH-2020/hershey.py
examples/TWATCH-2020/hershey.py
+0
-4
examples/TWATCH-2020/jpg/jpg.py
examples/TWATCH-2020/jpg/jpg.py
+0
-4
examples/TWATCH-2020/toasters/toasters.py
examples/TWATCH-2020/toasters/toasters.py
+0
-4
No files found.
examples/PYBV11/hello.py
View file @
b6d9c271
...
...
@@ -6,7 +6,8 @@ hello.py
https://youtu.be/OtcERmad5ps
"""
import
random
,
time
import
random
from
pyb
import
SPI
,
Pin
import
st7789
...
...
examples/TWATCH-2020/bitarray.py
View file @
b6d9c271
...
...
@@ -125,10 +125,6 @@ def main():
spi
=
SPI
(
2
,
baudrate
=
32000000
,
polarity
=
1
,
phase
=
0
,
bits
=
8
,
firstbit
=
0
,
sck
=
Pin
(
18
,
Pin
.
OUT
),
mosi
=
Pin
(
19
,
Pin
.
OUT
))
...
...
examples/TWATCH-2020/fonts.py
View file @
b6d9c271
...
...
@@ -27,10 +27,6 @@ def main():
spi
=
SPI
(
2
,
baudrate
=
32000000
,
polarity
=
1
,
phase
=
0
,
bits
=
8
,
firstbit
=
0
,
sck
=
Pin
(
18
),
mosi
=
Pin
(
19
))
...
...
examples/TWATCH-2020/hello.py
View file @
b6d9c271
...
...
@@ -45,10 +45,6 @@ def main():
spi
=
SPI
(
2
,
baudrate
=
32000000
,
polarity
=
1
,
phase
=
0
,
bits
=
8
,
firstbit
=
0
,
sck
=
Pin
(
18
,
Pin
.
OUT
),
mosi
=
Pin
(
19
,
Pin
.
OUT
))
...
...
examples/TWATCH-2020/hershey.py
View file @
b6d9c271
...
...
@@ -72,10 +72,6 @@ def main():
spi
=
SPI
(
2
,
baudrate
=
32000000
,
polarity
=
1
,
phase
=
0
,
bits
=
8
,
firstbit
=
0
,
sck
=
Pin
(
18
,
Pin
.
OUT
),
mosi
=
Pin
(
19
,
Pin
.
OUT
))
...
...
examples/TWATCH-2020/jpg/jpg.py
View file @
b6d9c271
...
...
@@ -30,10 +30,6 @@ def main():
spi
=
SPI
(
2
,
baudrate
=
32000000
,
polarity
=
1
,
phase
=
0
,
bits
=
8
,
firstbit
=
0
,
sck
=
Pin
(
18
,
Pin
.
OUT
),
mosi
=
Pin
(
19
,
Pin
.
OUT
))
...
...
examples/TWATCH-2020/toasters/toasters.py
View file @
b6d9c271
...
...
@@ -56,10 +56,6 @@ def main():
spi
=
SPI
(
2
,
baudrate
=
32000000
,
polarity
=
1
,
phase
=
0
,
bits
=
8
,
firstbit
=
0
,
sck
=
Pin
(
18
,
Pin
.
OUT
),
mosi
=
Pin
(
19
,
Pin
.
OUT
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment