Wykres commitów

231 Commity (7d3eb60b335070e9025f7382c625149cfccdf3d2)

Autor SHA1 Wiadomość Data
ZodiusInfuser 7d3eb60b33
C++ and MP support and example for Trackball breakout (#134)
* C and Micropython bindings for trackball
* C and Micropython examples for trackball
2021-05-04 22:29:53 +01:00
Philip Howard eee621db13
Merge pull request #131 from pimoroni/patch-is31fl3731
Recover the initialisation patch for is31fl3731
2021-05-04 10:35:24 +01:00
ZodiusInfuser 69ba1c88ef
C++ and MP support and examples for Dotmatrix breakout (#133)
* C driver for LTP305 breakout
* Micropython bindings for LTP305 breakout
* Micropython examples for dotmatrix
* C++ examples for dotmatrix

Co-authored-by: Phil Howard <phil@gadgetoid.com>
2021-05-04 10:34:52 +01:00
Philip Howard a4033a344d
Merge pull request #132 from helgibbons/main
Fixes colours in the MP cheerlights example
2021-04-30 09:43:33 +01:00
helgibbons cde1b97e57 Green fixed! 2021-04-29 20:18:24 +01:00
Phil Howard 5c785af983 Fix lookup table int type 2021-04-23 10:13:40 +01:00
ZodiusInfuser 7b15bda03c Fix for initialisation order issue 2021-04-23 10:12:40 +01:00
Philip Howard 44ad763954
Merge pull request #130 from pimoroni/driver/is31fl3731
is31fl3731 driver, RGBMatrix5x5 and Matrix11x7 breakouts
2021-04-22 17:39:42 +01:00
Phil Howard 1f4fe5c3b0 Add MicroPython bindings for RGBMatrix5x5 and Matrix11x7
Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2021-04-22 17:34:40 +01:00
Phil Howard 91bf9be9f0 IS31FL3731 for RGBMatrix5x5 and Matrix11x7
Add IS31FL3731 driver
Add RGBMatrix5x5 library and example
Add Matrix11x7 library and example

Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2021-04-22 17:29:37 +01:00
Philip Howard 7776536d83
Merge pull request #126 from pimoroni/pico-wireless
C++/MicroPython Support & Examples for Pico Wireless
2021-04-22 13:40:59 +01:00
ZodiusInfuser a406bb5e11 Added final missing functions from wifi api 2021-04-20 12:05:29 +01:00
Philip Howard a528dbc6e6
Merge pull request #127 from Gadgetoid/patch-micropython-1.15
Fix for MicroPython build changes, and pin to v1.15
2021-04-20 09:13:45 +01:00
Philip Howard 816b8c51ba
Merge pull request #128 from pimoroni/patch-st7789-spi-slot
Add breakout-garden SPI slot selection for ST7789 displays
2021-04-20 09:13:10 +01:00
Phil Howard b3df1483c1 Add breakout-garden SPI slot selection for ST7789 displays
A new constructor has been added which accepts a enum type BG_SPI_SLOT which can be either:

ST7789::BG_SPI_FRONT or ST7789::BG_SPI_BACK.

This selects the correct CS/BL pins for the respective breakout-garden SPI slot.

Additionally the PWM'd backlight is turned *on* by default to avoid any confusion when the user does not set a value.
2021-04-19 17:22:56 +01:00
ZodiusInfuser c1d9af3628 Removed old esp32spi MP code 2021-04-19 17:19:20 +01:00
ZodiusInfuser 15ccd8f001 Added digital_read and analog_read functions 2021-04-19 16:44:11 +01:00
Phil Howard ac6c379657 Use correct build output dir for generic PICO 2021-04-19 15:23:16 +01:00
Phil Howard d2fb995e0d Pin to uP v1.15 2021-04-19 15:23:09 +01:00
Philip Howard eee38968a5
Merge pull request #123 from helgibbons/main
Add Pico Lipo SHIM example
2021-04-16 15:54:26 +01:00
helgibbons f7977dc17c Linting battery.py 2021-04-16 10:09:40 +01:00
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
helgibbons 7245d3c47e Add Pico Lipo SHIM example 2021-04-12 17:22:42 +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