Phil Howard
2820b62e8c
Badger2040: Fix MicroPython binding for led
2022-02-25 11:08:32 +00:00
Phil Howard
a4f7d05fe5
Badger2040: Move startup block on held buttons to launcher.py
...
Blocking on held buttons is bad for MicroPython, since it makes nothing happen on startup-
We need the button to be held but are waiting for a button release after some arbitrary amount of time.
Additionally running code while holding down a button would block normal MicroPython event execution and crash the host's USB bus quite severely.
2022-02-25 11:08:32 +00:00
Phil Howard
167bfbb781
Badger2040: Lint examples, launcher tweaks
2022-02-25 11:08:32 +00:00
Phil Howard
6ff5c39c1b
Badger2040: Bugfixes, danger LUTs, examples
2022-02-25 11:08:32 +00:00
Phil Howard
183dd5f8cb
Badger2040: Add text rotation to MicroPython
...
Bonus: Make rotation and scale arguments optional.
2022-02-25 11:08:32 +00:00
Phil Howard
669e96598d
Badger2040: Fix input handling
...
Fixes input handling by clearing the button states to 0 when "wait_for_press".
2022-02-25 11:08:32 +00:00
Jonathan Williamson
07c62a849a
added rotation by angle in degrees to text() and glyph() methods
2022-02-25 11:08:32 +00:00
Phil Howard
1af63e583e
Badger2040: Add WIDTH/HEIGHT constants
2022-02-25 11:08:32 +00:00
Phil Howard
a38dc98199
Badger2040: Comment out meh fonts
2022-02-25 11:08:32 +00:00
Phil Howard
af230b5fd5
Badger2040: Refactor to fix MicroPython issues
...
Move busy wait logic into MicroPython bindings so that MICROPY_EVENT_POLL_HOOK can be called.
2022-02-25 11:08:32 +00:00
Phil Howard
5b084c1b9a
Badger2040: Add Fast/Slow LUTs, bugfix and tinkering helpers
2022-02-25 11:08:32 +00:00
Phil Howard
5a0fe00149
Badger2040: Fix typo, comment out explodey wfi
2022-02-25 11:08:32 +00:00
Phil Howard
3bd875c63d
Badger2040: Test code
2022-02-25 11:08:32 +00:00
Phil Howard
0a0aecf3f7
Badger2040: Set pull-down on inputs
2022-02-25 11:08:32 +00:00
Phil Howard
607320c4b6
Badger2040: Fix broken display on reset
...
Display configuration wasn't applied properly upon reset. Add additional delay to reset and configure busy_wait pulls.
2022-02-25 11:08:32 +00:00
Phil Howard
72d361fa74
Badger2040: Add text functions and input
2022-02-25 11:08:32 +00:00
Phil Howard
46d54072ce
Badger2040 MicroPython bindings
2022-02-25 11:08:32 +00:00
Phil Howard
5f52626a4f
Add partial update support
2022-02-25 11:08:32 +00:00
Niko Kotilainen
a5bf135ede
changed pressed to pressed_to_wake
2022-02-25 11:08:31 +00:00
Niko Kotilainen
69e5645700
Badger image update reworked
2022-02-25 11:08:31 +00:00
Jonathan Williamson
ad0ebee16b
added image demo for badger2040
2022-02-25 11:08:31 +00:00
Jonathan Williamson
f7d61b587a
added support for badger2040
2022-02-25 11:08:31 +00:00
ZodiusInfuser
4b96817616
Possible fix for display glitch after first program run
2022-02-22 11:00:02 +00:00
helgibbons
45927eb134
lint battery.py
2022-02-17 11:56:09 +00:00
helgibbons
14cb47b4bb
Add Pimoroni Pico LiPo battery example
2022-02-17 11:16:49 +00:00
ZodiusInfuser
95142ffeb5
Fix for display glitch during screen initialisation
2022-02-14 12:57:34 +00:00
ZodiusInfuser
e4afa6b6f2
Possible fix for display glitch after first program run
2022-02-14 12:56:40 +00:00
Philip Howard
9fafa3edb1
Merge pull request #248 from pimoroni/patch-icp10125-i2c-lockup
...
ICP10125: Fix block indefinitely on repeated start
2022-02-10 17:30:17 +00:00
Phil Howard
c105d111af
ICP10125: Fix block indefinitely on repeated start
...
Should fix pimoroni/icp10125-python#2
2022-02-10 12:28:57 +00:00
Philip Howard
7beb0b8563
Merge pull request #246 from lordmortis/pimoroni_i2c_lib
...
I2C Library for boilerplate projects?
2022-02-07 12:49:58 +00:00
Brendan Ragan
1fe355667c
reference the pomoroni_i2c.cmake file instead
2022-02-07 18:28:27 +08:00
Philip Howard
9b825e5b94
Merge pull request #244 from pimoroni/helgibbons-update-readme
...
Tweak readme links
2022-02-07 10:07:59 +00:00
Brendan Ragan
e687fed14b
changes for i2c lib
2022-02-05 11:43:01 +08:00
Hel Gibbons
e4706277ce
Update README.md
2022-01-31 14:29:27 +00:00
Hel Gibbons
551f6566d3
Rejig readme links
2022-01-31 14:26:48 +00:00
Philip Howard
91b3ffb7d8
Merge pull request #240 from pimoroni/patch-bump-mpy-1.18
...
Bump MicroPython to v1.18
2022-01-27 13:10:51 +00:00
Philip Howard
08f60d81d1
Merge pull request #242 from pimoroni/patch-scd41-demo
...
SCD41: Add i2c pins to MicroPython example
2022-01-27 13:09:10 +00:00
Phil Howard
f763bae3f4
SCD41: Add i2c pins to MicroPython example
2022-01-27 11:13:22 +00:00
Phil Howard
07687bcf77
Update main README
2022-01-26 12:10:33 +00:00
Phil Howard
520757d14b
Fix code example for #229
2022-01-26 10:07:17 +00:00
Phil Howard
9fddf89111
Remove set_backlight from TOC for #92
2022-01-26 09:50:37 +00:00
Philip Howard
5509d63235
Merge pull request #241 from SamStudio8/patch-1
...
Clarify BME68X humidity and gas resistance units
2022-01-26 09:42:13 +00:00
Sam Nicholls
7ee3d74a4a
Clarify BME68X humidity and gas resistance units
2022-01-25 22:33:04 +00:00
Phil Howard
25bebd888f
Use .begin() and .size() as per #213
...
Correct `I2C::write_bytes` to accept a `const uint8_t*` for the array of bytes.
2022-01-25 18:20:54 +00:00
Phil Howard
64dbdd56e7
Bump MicroPython to v1.18
...
* Bump Blinka to 6.20.1 (from 6.14.1)
* Bump PlatformDetetc to 3.19.3 (from 3.15.3)
2022-01-25 12:14:25 +00:00
Philip Howard
ab602135b6
Merge pull request #232 from waveform80/rgbgrbrg
...
Fix ordering of tuple returned by WS2812.get
2022-01-25 11:10:49 +00:00
Philip Howard
9c05e69573
Merge pull request #235 from mozz100/patch-1
...
Fix "repeat_time" docs in README
2022-01-25 11:01:29 +00:00
Philip Howard
fcf7b47c31
Merge pull request #237 from pimoroni/patch-plasma-update
...
Plasma/MP: bind update method for #236
2022-01-25 10:56:13 +00:00
Philip Howard
553f3dee60
Merge pull request #174 from pimoroni/driver/scd4x
...
Driver for SCD4X series CO2 sensors
2022-01-25 10:29:28 +00:00
Phil Howard
52df22a16a
Plasma/MP: bind update method for #236
2022-01-07 16:04:46 +00:00