Commit Graph

1075 Commits

Author SHA1 Message Date
ZodiusInfuser cacfbd174b Previous idea did not work, so now checking color order for every pixel set 2023-01-31 14:07:14 +00:00
ZodiusInfuser eda6e996ce Updated interstate module 2023-01-31 13:11:50 +00:00
ZodiusInfuser 1343f23316 Attempt at adding color order support to Hub75 2023-01-31 13:00:22 +00:00
Simon Shirley 9aedf16bb5 Free up file resources once text has been read 2023-01-30 17:36:08 +00:00
Simon Shirley 77ee234caa Only create and show demo QR code if no other QR codes are available 2023-01-30 17:35:49 +00:00
Simon Shirley eb7eaae885 Fixes 'list index out of range' if current_qr state is outside CODES range 2023-01-30 17:35:20 +00:00
Philip Howard 397ef786a9
Merge pull request #640 from pimoroni/patch-plasma-make-new
Plasma: Swap make_new/print functions for WS2812 module.
2023-01-19 15:46:35 +00:00
Hel Gibbons db5004d51c
Merge pull request #639 from pimoroni/docs/add-links
Update docs and add links
2023-01-19 14:45:59 +00:00
Phil Howard 6bf5c7f7b5 Plasma: Swap make_new/print functions for WS2812 module.
Fixes #637
2023-01-19 10:29:30 +00:00
Hel Gibbons 1ece897490 add link 2023-01-18 17:11:06 +00:00
Hel Gibbons 9aa2e33d46 PicoGraphics documentation tweaks 2023-01-18 16:59:05 +00:00
Hel Gibbons 92d58a17c0 Picographics documentation tweaks 2023-01-18 16:56:08 +00:00
Hel Gibbons d2da1c6213 add link 2023-01-18 16:32:08 +00:00
Hel Gibbons 914a4b345c
Correct RAM units 2023-01-18 15:41:33 +00:00
Philip Howard 63fc338ca6
Merge pull request #625 from pimoroni/patch/bme68x-configure-fix
Fix BME68x configure function
2023-01-16 15:01:11 +00:00
Philip Howard c98d0daaf4
Merge pull request #626 from pimoroni/patch/inky-launcher-57-update
Patch/inky launcher 57 update
2023-01-16 14:16:14 +00:00
thirdr 50b456d42f Switched to built in module for ntp 2023-01-11 14:13:01 +00:00
Phil Howard 0709878cec MicroPython: Bump ulab.
Bump up to the tip of master for the latest fixes.

Need to switch this to targeting a release when one's available with the mp_obj_type_t fix.
2023-01-11 12:25:28 +00:00
thirdr e0d578bd07 Adjusted error message layout and wording 2023-01-11 09:49:31 +00:00
Phil Howard 828ff8453d Inky: Switch to mip, add nptime. 2023-01-11 09:46:45 +00:00
Phil Howard fb6fdcc115 MicroPython: Update GU to MP_DEFINE_CONST_OBJ_TYPE. 2023-01-11 09:46:45 +00:00
Phil Howard 9bf1583787 MicroPython: Change machine_hw_i2c_type to machine_i2c_type. 2023-01-11 09:46:45 +00:00
Phil Howard ff5dc0078f Enviro: Switch upip to mip, add ntptime. 2023-01-11 09:46:45 +00:00
Phil Howard 8b1bd814e5 MicroPython: Switch QRCode back to feature/micropython with fix. 2023-01-11 09:46:45 +00:00
Phil Howard 5f94ee7acc CI: Bump ulab to latest commit. 2023-01-11 09:46:45 +00:00
Phil Howard 5b3f84ebf0 MicroPython: TEST: Switch QRCode to fixed branch. 2023-01-11 09:46:45 +00:00
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
Hel Gibbons 80c93e7067
add link 2023-01-10 16:19:55 +00:00
Hel Gibbons 45014853e6 update example to match docs 2023-01-10 14:29:02 +00:00
Hel Gibbons 1e1d8bf4f5
Fix bme68x configure 2023-01-09 15:07:06 +00:00
thirdr 97f2232e07 changed title colours 2023-01-05 14:56:16 +00:00
thirdr 14af0fd646 changed default news feed 2023-01-05 14:51:39 +00:00
thirdr 3a2e212e36 Updated with Inky Frame 5.7 support 2023-01-05 13:27:47 +00:00
ZodiusInfuser b4d1c42669 Fixed typo with inventor examples 2023-01-05 12:01:59 +00:00
thirdr f4ab44489c increased delay for USB init 2022-12-21 12:07:23 +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
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 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 5a2a62b471
Merge pull request #602 from housten/patch-1
Correct badge picture dimensions
2022-12-16 21:04:13 +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
Phil Howard 241e725464 JPEGDEC: Sync with upstream.
Adds setUserPointer and pDraw->pUser which we now use to store a pointer to the PicoGraphics instance.
2022-12-13 14:21:57 +00:00
Phil Howard e0a1627fba JPEGDEC/PicoGraphics: Add support for RGB888 target.
Fixes https://github.com/pimoroni/pimoroni-pico/issues/573
2022-12-13 14:03:30 +00:00
Hel Gibbons d5e1a2d8a0 make sure socket is closed 2022-12-13 13:52:51 +00:00
Hel Gibbons 50b8e2ef90
Use http instead of https to avoid memory errors 2022-12-13 12:50:13 +00:00
helgibbons a62c3f0e20 update readme 2022-12-01 17:49:53 +00:00
helgibbons 95252f2de5 update readme 2022-12-01 17:46:48 +00:00
helgibbons 7ac2a285d8 fix typo 2022-12-01 17:11:44 +00:00
helgibbons 7555ac97fd linting 2022-11-29 18:22:53 +00:00
helgibbons 3b0317b118 update readme 2022-11-29 18:18:33 +00:00
helgibbons 963702a6e5 add pulse example 2022-11-29 18:11:42 +00:00
helgibbons d612f4b4dc add festive examples 2022-11-29 18:08:15 +00:00
helgibbons be76ec01af add readme links 2022-11-23 16:20:58 +00:00
helgibbons 96aa82fcb1 improve maths 2022-11-22 11:54:39 +00:00
Gee Bartlett 7b127d5f19
Driver/st7567 (#581)
Add ST7567/Pico GFX examples
2022-11-18 14:30:22 +00:00
Hel Gibbons 62303b6912
Merge pull request #577 from ahpook/led-pulse
Badger2040: Make the LED example pulse instead of strobe
2022-11-18 09:23:13 +00:00
Eric Sorenson 2b7a77e110 Badger2040: Make the LED example pulse instead of strobe
This makes a slightly nicer example as the LED goes gently
from off to on and back down again instead of strobing.
2022-11-17 10:47:31 -08:00
Hel Gibbons 4b3d39bf44
Merge pull request #568 from pimoroni/hel-gfx-pack
GFX pack examples and docs tweaks
2022-11-16 16:13:15 +00:00
helgibbons 6eb62b1a67 fix I2C constants 2022-11-16 14:12:12 +00:00
helgibbons 660fcea744 add community links 2022-11-15 14:26:57 +00:00
Hel Gibbons 40945c4cee correct i2c constants 2022-11-14 13:01:33 +00:00
Phil Howard 36401e174e MicroPython: Create inky_frame module for buttons. 2022-11-09 13:34:30 +00:00
helgibbons e3496efda0 a few doc fixes 2022-11-09 13:16:29 +00:00
helgibbons 59ed91c755 add GFX Pack examples readme 2022-11-09 13:02:28 +00:00
helgibbons ff2bb4f026 fix typo in inventor example 2022-11-09 10:20:53 +00:00
helgibbons 4f8eb8fd20 linting co2 example 2022-11-09 09:37:21 +00:00
John McCabe e2d330e9c9
Fix typo galactic_unicorn feature_test_with_audio.py
Fixes a minor typo, SWITCH_BRIGHTNESS_DOWN text should be Lower not Power.
2022-11-09 00:23:04 +00:00
helgibbons 22774b88c7 add co2 example 2022-11-08 19:38:03 +00:00
helgibbons 78baea7ef5 add button example 2022-11-08 14:20:32 +00:00
ZodiusInfuser f1d9ec7c61
Merge branch 'main' into driver/st7567 2022-11-08 11:17:24 +00:00
ZodiusInfuser 23f56f05e4 Minor readme tweaks 2022-11-08 11:10:51 +00:00
ZodiusInfuser 91a2e7f5fb Fixed typos 2022-11-07 16:11:05 +00:00
Hel Gibbons 31ecfef156 Merge branch 'driver/st7567' of https://github.com/pimoroni/pimoroni-pico into driver/st7567 2022-11-07 15:38:52 +00:00
Hel Gibbons 98e29e07fb add dancing 2022-11-07 15:38:44 +00:00
Gee Bartlett cf88add1ad Merge branch 'driver/st7567' of https://github.com/pimoroni/pimoroni-pico into driver/st7567 2022-11-07 14:23:43 +00:00
Gee Bartlett 7a458f32e4 Update gfx_pack.md 2022-11-07 14:23:20 +00:00
Hel Gibbons 065b55b6af add rainbow example 2022-11-07 14:20:12 +00:00
Gee Bartlett b3893d0052 couple of minor fixes 2022-11-07 13:43:53 +00:00
ZodiusInfuser 678b8d7cf9 Review of GfxPack code 2022-11-07 12:50:50 +00:00
Gee Bartlett f3f260e176 finish docs and cmake gfx module 2022-11-04 17:23:30 +00:00
ZodiusInfuser 64b1a8c2d5
Additions to PicoGraphics readme for GU 2022-11-04 11:27:56 +00:00
ZodiusInfuser 408d105e8b
Link fixes 2022-11-04 11:13:57 +00:00
ZodiusInfuser 3765d43ce0
Link fixes 2022-11-04 11:12:20 +00:00
ZodiusInfuser c247770f48
Updated example descriptions 2022-11-04 10:57:53 +00:00
ZodiusInfuser d11c73d45e
Updated GU readme 2022-11-04 10:57:37 +00:00
Gee Bartlett 61a80ce66e fixed some linting errors 2022-11-04 10:28:26 +00:00
Gee Bartlett eef9334805 gxf module and examples done 2022-11-04 10:21:27 +00:00
Gee Bartlett 78101c47b5 linting demo 2022-11-03 17:33:58 +00:00
Hel Gibbons c2b695f7e9 remove unused variable 2022-11-03 16:44:36 +00:00
Hel Gibbons 4319570960 update function reference 2022-11-03 15:57:59 +00:00
Hel Gibbons 0e80e1d96a update examples readme 2022-11-03 15:48:21 +00:00
Hel Gibbons 6d98cec7de update examples readme 2022-11-03 15:44:43 +00:00
Hel Gibbons 080da22b5f update readme 2022-11-03 15:42:45 +00:00
Hel Gibbons 91505c2976 update examples readme 2022-11-03 15:31:21 +00:00
Hel Gibbons c599ae4941 update examples readme 2022-11-03 15:20:28 +00:00
Hel Gibbons 0f5e96495c add cheerlights history example 2022-11-03 14:16:05 +00:00
Gee Bartlett 9085c48a62 mp working 2022-11-03 13:30:07 +00:00
helgibbons 347cd19ab9 update GU readmes 2022-11-02 16:58:18 +00:00
helgibbons 689326ac55 update function reference 2022-11-02 14:56:08 +00:00
helgibbons cac74a94bb update function reference 2022-11-02 13:47:41 +00:00
helgibbons 79a2349fac update micropython function reference 2022-11-02 13:45:14 +00:00
helgibbons 738531ebcf add micropython function reference 2022-11-02 12:51:45 +00:00
Mike Bell f76019f31c Add time synchronization from NTP to GU clock example 2022-10-29 13:02:42 +01:00
ZodiusInfuser f74261474e Added scroll example and improved clock 2022-10-28 14:33:01 +01:00
ZodiusInfuser 7ee40260c9 Added a basic clock example that uses the Pico's RTC 2022-10-28 13:29:20 +01:00
ZodiusInfuser 5a7939e95d Improvements to GU launcher 2022-10-27 13:18:51 +01:00
ZodiusInfuser efba56b8b2 Linting fixes for Galactic 2022-10-27 13:16:39 +01:00
ZodiusInfuser 6e8f2d8a27 Linting fixes for Galactic 2022-10-27 13:11:36 +01:00
ZodiusInfuser 00d7b99589 Added launch software and tweaked other GU examples 2022-10-27 12:51:59 +01:00
Hel Gibbons 152af1f72f
Update README.md 2022-10-26 16:20:37 +01:00
Hel Gibbons 4e23ade374
Update README.md 2022-10-26 16:10:40 +01:00
Hel Gibbons 9bfa4b70b6
make function reference consistent 2022-10-26 15:53:50 +01:00
Hel Gibbons d9587f06fa
Update README.md 2022-10-25 14:25:55 +01:00
Hel Gibbons f678687735
Update README.md 2022-10-25 14:23:35 +01:00
Hel Gibbons bafceb110a
Update Pico Unicorn readme 2022-10-24 12:53:58 +01:00
Hel Gibbons 11a7be85a9
Merge pull request #538 from pimoroni/hel-plasma-rgb
change default colour order
2022-10-19 16:45:48 +01:00
Hel Gibbons b1f6b00997 change default colour order 2022-10-19 16:31:36 +01:00
Philip Howard e928129d59
Merge pull request #537 from pimoroni/feature/galactic_unicorn
Galactic Unicorn
2022-10-19 14:08:20 +01:00
Philip Howard 3405130820
Merge pull request #536 from pimoroni/hel-plasma
Plasma Stick examples
2022-10-19 10:51:27 +01:00
helgibbons f43293adf4 linting 2022-10-18 15:53:20 +01:00
helgibbons 490d21f7e0 seems ok without gc.collect() 2022-10-18 15:49:59 +01:00