Commit Graph

1615 Commits

Author SHA1 Message Date
Phil Howard 77a5edc83f MicroPython: Update to support new slots mp_obj_type_t.
Follows the lead from: 662b9761b3

Update to support MP_DEFINE_CONST_OBJ_TYPE with backwards compatibility.
2023-01-11 09:46:45 +00:00
Phil Howard a29ce1e180 MicroPython: Rewrite Enviro manifest.py to new style. 2023-01-11 09:46:45 +00:00
Phil Howard a612e66779 MicroPython: Use MPY_LIB_DIR unconditionally.
We can always rely on the micropython-lib dir (now a submodule) being present.

See: da7f2537a1
2023-01-11 09:46:45 +00:00
Phil Howard b041b546e6 MicroPython: Bump PicoW to 4903e48. 2023-01-11 09:46:45 +00:00
Hel Gibbons 84cd34b24f
Merge pull request #627 from pimoroni/helgibbons-patch-1
add link
2023-01-10 16:32:18 +00:00
Hel Gibbons 80c93e7067
add link 2023-01-10 16:19:55 +00:00
ZodiusInfuser d432948a4c
Merge pull request #621 from pimoroni/patch/inventor_typo_fix
Fixed typo with inventor examples
2023-01-09 13:28:05 +00:00
ZodiusInfuser b4d1c42669 Fixed typo with inventor examples 2023-01-05 12:01:59 +00:00
Philip Howard 955f4e57a4
Merge pull request #609 from pimoroni/patch-usbfix
usb-fix for Inky Frame Launcher
2022-12-21 16:37:57 +00:00
thirdr f4ab44489c increased delay for USB init 2022-12-21 12:07:23 +00:00
Philip Howard f4a86fb5e5
Merge pull request #608 from pimoroni/patch/inkylauncher
Launcher + Examples for Inky Frame
2022-12-20 19:49:16 +00:00
thirdr 1c03a48e19 fixed incorrect capitalisation 2022-12-20 19:37:22 +00:00
ZodiusInfuser 4c0a34769d Added LED for when app draws, and delay at start to fix USB issue 2022-12-20 19:37:22 +00:00
thirdr 417f5d9210 centred text 2022-12-20 19:37:22 +00:00
thirdr 192625956b linting fix 2022-12-20 19:37:22 +00:00
thirdr e2e4687f0c added LED indicator for display refresh on launcher 2022-12-20 19:37:22 +00:00
thirdr daf2770d28 updated button LEDs 2022-12-20 19:37:22 +00:00
thirdr 16e8e0bcd4 added instructions to launcher 2022-12-20 19:37:22 +00:00
thirdr da52a1ab92 Changed button combo for esc to launcher 2022-12-20 19:37:22 +00:00
thirdr a11d2b6fc0 added colour and layout changes to the launcher 2022-12-20 19:37:22 +00:00
thirdr 5a89f5be97 sensible update intervals 2022-12-20 19:37:22 +00:00
thirdr 3a3b82889d udpated error msg 2022-12-20 19:37:22 +00:00
thirdr be39aafd2d fixed a typo 2022-12-20 19:37:22 +00:00
ZodiusInfuser 4273e9743e Linting fix 2022-12-20 19:37:22 +00:00
thirdr 1c88dcca40 consistent error messages across apps 2022-12-20 19:37:22 +00:00
thirdr 3749f19756 changed esc to launcher key combo 2022-12-20 19:37:22 +00:00
thirdr db4473ff5e adjusted grid layout 2022-12-20 19:37:22 +00:00
thirdr 227317f4fb added UPDATE_INTERVAL 2022-12-20 19:37:22 +00:00
ZodiusInfuser 3bf10632c2 Upload of inkylauncher example 2022-12-20 19:37:22 +00:00
Philip Howard a46a53a709
Merge pull request #605 from pimoroni/patch/inky_build
Inky Frame Build
2022-12-20 19:35:45 +00:00
ZodiusInfuser 944830f616 Inky Frame: Enable Wakeup RTC, don't meddle with SR config. 2022-12-20 13:54:14 +00:00
Phil Howard 940b31bab1 Inky Frame: Add LED on/off methods to SR button class. 2022-12-20 13:46:02 +00:00
Phil Howard e5bfe76970 Inky Frame: Return latched SR state in read() regardless of debounce. 2022-12-20 13:46:02 +00:00
Phil Howard 2ea5de97df Inky Frame: reset latched SR state after read. 2022-12-20 13:46:02 +00:00
Phil Howard 5251baf764 Wakeup: Add method to reset latched SR state. 2022-12-20 13:46:02 +00:00
Phil Howard f1e9e00cd5 Inky Frame: Add wakeup SR to lib, fix wakeup bug. 2022-12-20 13:46:02 +00:00
Phil Howard ba100ae069 Wakeup: Disable RTC & enable SR for Inky, always include shift function.
Due to quirks with how QSTRs are passed, conditionally including a function is difficult.

Instead, always include "get_shift_state" but throw a RuntimeError if its use is invalid (no shift register).
2022-12-20 13:46:02 +00:00
ZodiusInfuser 05d26aeecb Wakeup: Add shift register support. 2022-12-20 13:46:02 +00:00
ZodiusInfuser 43ef76b945 CI: Add build for Inky Frame. 2022-12-20 13:46:02 +00:00
Philip Howard 6f74017894
Merge pull request #606 from Daft-Freak/actions-update
Update actions for deprecation warnings
2022-12-19 15:26:51 +00:00
Charlie Birks 52164a1c34 Update actions for deprecation warnings 2022-12-19 12:54:16 +00:00
Philip Howard fe55d9beef
Merge pull request #569 from pimoroni/patch-inky-frame-buttons
MicroPython: Create inky_frame module for buttons.
2022-12-16 22:05:20 +00:00
Philip Howard 3891eef94f
Merge pull request #388 from thinkofher/fetch-from-git
Fetch pimoroni-pico SDK from git repository
2022-12-16 21:45:49 +00:00
Philip Howard 5a2a62b471
Merge pull request #602 from housten/patch-1
Correct badge picture dimensions
2022-12-16 21:04:13 +00:00
Philip Howard ec0077ae71
Merge pull request #603 from ahnlak/unicorn-volume-fix
Unicorn volume fix
2022-12-16 21:03:04 +00:00
Philip Howard 930784df08
Merge pull request #600 from pimoroni/patch-jpegdec-rgb888
JPEGDEC/PicoGraphics: Add support for RGB888 target.
2022-12-16 20:53:55 +00:00
Gee Bartlett 104c819412
Hub75: Update to use Picographics (#601)
* have a basic pg working needs optimizing

* working well ported some examples from GU

* started on micropython module

* Fixes to get new Hub75 compiling in MP

* stripped down for faster compilling

* Update hub75.cmake

* added hub75 to galatic and eviro as it is needed for picographics

* Update picographics.c

* added hu75 update

* added _ModPicoGraphics_obj_t

* Update hub75.cpp

* update bindings

* some examples needs linting

* added other panel sizes and linted

* Update picographics.cpp

* Update picographics.c

* fixing gc memory allocation

* Update hub75.cpp

* Update interstate75_balls_demo.cpp

* review

* broke

* working with built in panel defs

* still borked

* not much change needs review

* Update hub75.cpp

* reverted alot of things

* adding i75 lib

* lots of updates ready to test compile mp

* Update picographics.h

* little tweaks

* an inability to count fixed!

* fixed some readme's

* lots of tiding

* fixed linting and removed experimental code

* Minor formatting

* Minor formatting and cmake tidy

* Removed unneeded parts of examples

* Final tidy

* tidy examples and adding more

* updated to new library

* documentation tweaks

* fixed inclusion of interstate75 module

* syncing some stuff

* fixed linting

Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2022-12-16 20:53:16 +00:00
Phil Howard 13414b5037 JPEGDEC: Clip drawing to iWidthUsed.
Corrects clipping width using new iWidthUsed value, noticable particularly on smaller jpegs and those that aren't a multiple of the MCU sized.

Fixes #573
2022-12-14 18:42:03 +00:00
housten 28b53f174e
Correct badge picture dimensions
Using 108 resulted in a 'smeared' image because the image width is wrong for the result. 
Check the [getting started guide](https://learn.pimoroni.com/article/getting-started-with-badger-2040) where it says 104x128 for badge picture
2022-12-14 17:35:15 +01:00
Hel Gibbons a9d9c1089e
Merge pull request #599 from pimoroni/helgibbons-patch-1
Use http instead of https to avoid memory errors
2022-12-14 10:02:13 +00:00