Skip to content

Commit a96519a

Browse files
authored
Merge pull request #10 from trevorwslee/develop
Develop
2 parents 4b3b1f9 + b69d8e9 commit a96519a

4 files changed

Lines changed: 12 additions & 5 deletions

File tree

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ As a result, it can be an alternative way to prototype Android app driven remote
1616

1717
Enjoy
1818

19-
- [DumbDisplay MicroPython Library (v0.4.0)](#dumbdisplay-micropython-library-v040)
19+
- [DumbDisplay MicroPython Library (v0.5.0)](#dumbdisplay-micropython-library-v050)
2020
- [Installation](#installation)
2121
- [Getting Started](#getting-started)
2222
- [Selected Demos](#selected-demos)
@@ -46,8 +46,8 @@ pip install --upgrade --force-reinstall git+https://github.com/trevorwslee/Micro
4646
The basic script setup is:
4747
1. import core, for creating `DumbDisplay` object
4848
2. import IO mechanism, for creating IO object, like
49-
- `io4Inet`(the default) -- Python networking support (not available for Micro-Python)
50-
- `io4Wifi` -- Micro-Python WiFi support (for Raspberry Pi Pico W, ESP32, etc.)
49+
- `io4Inet`(the default) -- Python networking support (not available for Micro-Python)
50+
- `io4Wifi` -- Micro-Python WiFi support (for Raspberry Pi Pico W, ESP32, etc.)
5151
3. import layers, for creating layer objects
5252

5353
For example (using Python networking support with `io4Inet` as `io` )
@@ -151,13 +151,20 @@ Notes:
151151
152152
# Selected Demos
153153
154-
Here is a few Raspberry Pi Pico PIO demos that might interested you
154+
Here is a few Raspberry Pi Pico PIO demos that might interest you
155155
156156
|[Respberry Pi Pico W Generating Tones With Programmable I/O (PIO) Using MicroPython](https://www.instructables.com/Respberry-Pi-Pico-W-Generating-Tones-With-Programm/)|[Respberry Pi Pico W NeoPixels Experiments With Programmable I/O (PIO) Using MicroPython](https://www.instructables.com/Respberry-Pi-Pico-W-NeoPixels-Experiments-With-Pro/)|
157157
|--|--|
158158
|![](screenshots/u_melody_dd.jpg)|![](screenshots/u_neopixeldd_dd.jpg)|
159159
160160
161+
[`PyTorchIntroductoryExperiments`](https://github.com/trevorwslee/PyTorchIntroductoryExperiments) shows two regular Python 3 demos that might interest you
162+
163+
|||
164+
|--|--|
165+
|![](screenshots/dd-mnist.jpg)|![](screenshots/dd-sliding-puzzle.jpg)|
166+
167+
161168
162169
# Thank You!
163170

dumbdisplay_examples/mnist/mnist_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _handleInferenceBtnFeedback(self, *args):
112112
else:
113113
best = random.randint(0, 10)
114114
taken_time = time.time() - start_time
115-
self.dd.log(f"... >>> in {taken_time:0.2f}s ==> [{best}]")
115+
self.dd.log(f"... >>> in {taken_time:0.3f}s ==> [{best}]")
116116
self.result_layer.showDigit(best)
117117
self._drawPixelsTo(self.copy_layer)
118118
self._resetPixels()

screenshots/dd-mnist.jpg

439 KB
Loading

screenshots/dd-sliding-puzzle.jpg

637 KB
Loading

0 commit comments

Comments
 (0)