Phil Howard
6167589812
Add Pico Wireless Python examples
2021-04-15 12:02:18 +01:00
Phil Howard
c748437d60
Make set_dns more idiomatic of Python
...
Now accepts either one or two DNS servers and uses n_args to figure out how many you supplied and pass it on.
2021-04-15 10:11:16 +01:00
Phil Howard
d3829e73a8
Use tuples for IP address
...
Passing interchangably as int/bytes was weird, and due to Python's signedness on int resulted in a heck of a bug-hunt.
I've switched IP address to converting from/to a tuple internally, so Python code doesn't have to be weird.
2021-04-15 10:11:16 +01:00
Phil Howard
9e2f0ebf09
Fix get_data_buf to request *some* data
...
Uses an arbitrarily sized, dynamically alloc'd buffer. This should *probably* do the legwork to get the whole buffer and give it to Python without needing multiple calls.
2021-04-15 10:11:16 +01:00
ZodiusInfuser
6ac8ea1db0
Added set_led and is_pressed functions to PicoWireless MP
2021-04-15 10:11:16 +01:00
ZodiusInfuser
72aee2d202
Fix for string object not being identified correctly
2021-04-15 10:11:16 +01:00
ZodiusInfuser
47bfada0d9
Fixes for picowireless not showing in Micropython
2021-04-15 10:11:16 +01:00
ZodiusInfuser
971ac565dd
Finished micropython bindings for current C++ class implementation
2021-04-15 10:11:16 +01:00
ZodiusInfuser
d1b3e4d768
Added partial micropython bindings for C++ class implementation
2021-04-15 10:11:16 +01:00
Phil Howard
3a080567d3
Improve RGB HTTP demo
2021-04-15 10:11:16 +01:00
Phil Howard
5fbd458749
Cheerlights example for Pico Wireless
2021-04-15 10:11:16 +01:00
Phil Howard
306877cdf5
Add RGB HTTP demo
2021-04-15 10:11:16 +01:00
Phil Howard
2e3af3b436
Silence warnings, rename prot_mode
...
* Silences printf output on wait falures, original library had these as WARN so I assume they're completely optional and mostly just noise.
* Renames the "prot_mode" parameter to "protocol_mode" so it doesn't look like someone typod "port_mode" a lot.
2021-04-15 10:11:16 +01:00
Phil Howard
0703c90dea
Use std::string in API
2021-04-15 10:11:16 +01:00
ZodiusInfuser
8ff49474ea
Progressed on Wifi class, adding IPAddress
2021-04-15 10:11:16 +01:00
ZodiusInfuser
34a872928b
Added commit warning
2021-04-15 10:11:16 +01:00
ZodiusInfuser
2c39e59215
Added secrets.h file for wireless example
2021-04-15 10:11:16 +01:00
ZodiusInfuser
e5545c1c02
Added latest local code for wireless pack
2021-04-15 10:11:16 +01:00
Philip Howard
d127f4d299
Merge pull request #125 from pimoroni/python-linting
...
Add Python linting
2021-04-15 09:58:38 +01:00
Phil Howard
47be7e5f31
Add Python linting
2021-04-15 09:36:38 +01:00
Philip Howard
d69b10c4bc
Merge pull request #122 from WayneKeenan/micropython-build-doc-fix
...
Update MicroPython build step and reorder it to after toolchain step.
2021-04-12 10:32:50 +01:00
Wayne Keenan
cfabc7c771
Update MicroPython build step and reorder it to after toolchain step.
...
RaspberryPi have updated the build instructions, e.g. the git repo is no longer valid.
2021-04-11 13:15:13 +01:00
Philip Howard
5a5e61529a
Merge pull request #115 from DiddyWolf/patch-1
...
Fix picokeypad.clear()
2021-04-05 11:11:35 +01:00
Philip Howard
9c790ac31b
Merge pull request #117 from pimoroni/patch-get-time
...
Fix use of private variable in round LCD demo
2021-04-05 11:10:43 +01:00
Phil Howard
3c66b2bc69
Fix use of private variable in round LCD demo
...
Fixes #116
2021-04-05 11:05:33 +01:00
DiddyWolf
d7955e9653
Fix picokeypad.clear()
...
Using release 0.1.1 of pimoroni-pico-micropython, the picokeypad.clear() function does not seem to work. Looking through the code, it appears that clear is actually calling init instead.
2021-04-04 10:44:24 -05:00
Philip Howard
9292e3f0e6
Merge pull request #113 from pimoroni/pico-audio-example
...
Add Pico Audio Pack example for #36
2021-03-31 18:08:32 +01:00
Philip Howard
7b3f68a8bf
Merge pull request #114 from Gadgetoid/mpy-release-version
...
Append version to MicroPython .uf2
2021-03-31 17:42:59 +01:00
Phil Howard
e2fffbb131
Append version to uP .uf2
2021-03-31 17:26:12 +01:00
Phil Howard
b78f42b7d9
Add README for Pico Audio extras setup
2021-03-31 17:18:48 +01:00
Phil Howard
082d41a384
Sine waves are boring, MUSIC!
2021-03-31 17:18:41 +01:00
Phil Howard
b5ba4ba913
Add pico-extras to CI
2021-03-31 14:02:50 +01:00
Phil Howard
3539762f34
Add Pico Audio Pack example
2021-03-31 13:44:33 +01:00
Philip Howard
81e051a609
Merge pull request #112 from pimoroni/patch-st7789-bl
...
Revert ST7789 backlight for Pico Display
2021-03-31 11:53:54 +01:00
Phil Howard
50912e65bf
Revert ST7789 backlight for Pico Display
2021-03-31 11:45:54 +01:00
Philip Howard
c3f609ebe0
Merge pull request #111 from pimoroni/patch-texthandling
...
Fix for MicroPython hard lock when passing in non-string object to text function
2021-03-30 18:49:17 +01:00
ZodiusInfuser
787ba585b2
Fix for MicroPython hard lock when passing in non-string object to text function
2021-03-30 18:07:43 +01:00
Philip Howard
d7e3a98c2f
Merge pull request #110 from pimoroni/patch-roundlcd
...
C++ Class and Micropython bindings for RoundLCD breakout
2021-03-30 17:16:02 +01:00
Phil Howard
b2006878d3
Fix include paths in MicroPython modules
...
The ../../../pimoroni-pico path was selecting the "pimoroni-pico" directory adjacent my "micropython" directory
However I was attempting to build against one in a different parent directory.
This resulted in the MicroPython modules including the wrong (old) header and exploding.
2021-03-30 15:50:18 +01:00
Philip Howard
ba1556d3c2
Merge pull request #109 from pimoroni/patch-switch-ci-to-upstream
...
Switch MicroPython to build against upstream
2021-03-30 15:23:39 +01:00
ZodiusInfuser
848aa19c2c
Added micropython support and example for roundlcd breakout
2021-03-30 15:15:13 +01:00
Phil Howard
3b28650331
Switch MicroPython to build against upstream
...
USER_C_MODULE support has been merged upstream. Hooray!
2021-03-30 14:43:28 +01:00
ZodiusInfuser
0866ade054
Created dedicated library class for round LCD breakout
2021-03-30 13:51:00 +01:00
Philip Howard
500581d679
Merge pull request #107 from pimoroni/patch-temperature-demo
...
Improved thermometer demo
2021-03-30 12:38:00 +01:00
Phil Howard
051013a1b3
Improved thermometer demo colour range
...
* Display temp as 00.00 with floating point component
* Use the temp value to blend from a list of display colours
* Fixed slowdown bug when screen begins to scroll
2021-03-29 16:57:58 +01:00
Philip Howard
69c7183c47
Merge pull request #87 from slabua/main
...
Display thermo example Keep last 48 temperatures
2021-03-29 16:26:05 +01:00
Philip Howard
234434d648
Merge pull request #105 from pimoroni/st7789-round-demo
...
Change ST7789 demo to round_demo
2021-03-29 14:32:35 +01:00
Philip Howard
5316da95ca
Merge pull request #104 from pimoroni/patch-bump-ulab
...
Bump ULAB to version with micropython.mk
2021-03-29 14:29:23 +01:00
Phil Howard
270adbcfbf
Change ST7789 demo to round_demo
2021-03-29 14:26:43 +01:00
Phil Howard
e2cc795e66
Bump ULAB to version with micropython.mk
2021-03-29 13:51:11 +01:00