Commit Graph

581 Commits

Author SHA1 Message Date
ZodiusInfuser 446d7189c6 Automation 2040W Mini: Add dedicated HTML page. 2023-02-23 16:02:36 +00:00
Gee Bartlett 0616a0694e Automation2040W Mini: Fixed example. 2023-02-23 16:02:29 +00:00
Philip Howard f17c04b7ff
Merge pull request #658 from SimonShirley/main
List index out of range fix, remove default QR message if text files are available and file housekeeping
2023-02-22 11:11:59 +00:00
Brian Corteil a5538da8e6 Update cheerlights.py
added newline to last line
2023-02-22 02:05:20 +00:00
Brian Corteil ba7a17ff43 removed white space on lines 26 and 27 2023-02-22 01:57:33 +00:00
thirdr e3dc655a34 fixed error caused by missing secrets.py 2023-02-21 16:34:47 +00:00
Phil Howard 81884448ab Cosmic Unicorn: Launch Examples.
Co-authored-by: thirdr <ryan@pimoroni.com>
2023-02-21 13:25:39 +00:00
Phil Howard fc37ef100d Cosmic Unicorn: Tidy up audio feature test a little. 2023-02-21 12:52:47 +00:00
Phil Howard a09fde770f Cosmic Unicorn: Fix feature test for #661. 2023-02-21 12:52:47 +00:00
Phil Howard 6c0c45d6c8 Cosmic Unicorn: Fast, numpy effect examples. 2023-02-21 12:52:46 +00:00
Gee Bartlett 53162737a1 Cosmic Unicorn: MicroPython Examples.
updating demos

other demos

Update rainbow.py

linting fixes

Faster flames
2023-02-21 12:52:46 +00:00
Gee Bartlett 9bc616690e Cosmic Unicorn: MicroPython bindings.
started on MP driver

removed duplacte audio_i2s.pio

disabled GU lib options

bug fixes

bringing Picographics into line

Update picographics.cpp

fixing naming Cosmic to cosmic fixed H and W
2023-02-21 12:52:44 +00:00
Philip Howard 1b87ec8bd8
Merge pull request #648 from pimoroni/patch/interstate-examples
Few more Interstate examples
2023-02-20 12:39:07 +00:00
Hel Gibbons de48394764 port GFX pack examples 2023-02-20 11:01:34 +00:00
Hel Gibbons 259bad7ce8 Update placekitten.py 2023-02-20 11:01:34 +00:00
Hel Gibbons 740aa14cac Add I75 placekitten example 2023-02-20 11:01:34 +00:00
Hel Gibbons fa275e6919 update examples readme 2023-02-17 16:47:08 +00:00
Hel Gibbons dc121aa4f1 add badger w examples readme 2023-02-17 16:43:27 +00:00
ZodiusInfuser 943ea1390a
Merge pull request #633 from pimoroni/feature/badger2040w
Badger2040w support
2023-02-16 10:43:25 +00:00
Brian Corteil 47a8373bbb Create cheerlights.py
Updated to use the Pimoroni standard Wi-Fi method to be inline with other examples and rename filed to cheerlights.py so can be import from REPL
2023-02-14 23:07:35 +00:00
Hel Gibbons 8a420ca0e4 update qrcode.py with badger w details 2023-02-14 15:21:46 +00:00
Hel Gibbons 9bba17cc47 add missing .py 2023-02-13 17:39:13 +00:00
LionsPhil 033157503b Rewrite the Tufty2040 main menu somewhat
Primarily motivated to get almost everything out of globals and fix
issue #631. This is a stripped-down version of the gist there without
the memory debugging and reboot-into-direct-boot mode.

Mostly move things to functions. Clean up some dead code and comments.
I think the biggest win is not actually the PicoGraphics framebuffer,
which is well-behaved, but random temporary floats that were leaking
previously.

Also type-annotated and lints clean.

Fixes #631. (As much as I think is possible.)
2023-02-12 12:33:28 +00:00
Phil Howard 2952fd760e Badger2040W: Fix news text wrapping and URLs. 2023-02-10 22:15:09 +00:00
Phil Howard 0410b7c775 Badger2040W: Add thickness back. Better error backdrop. 2023-02-10 22:15:09 +00:00
Phil Howard a275f31c7a Badger2040W: (Try to) fix abrupt poweroff screen corruption. 2023-02-10 22:15:09 +00:00
Phil Howard cbcd9edd9a Badger2040W: Fix wakeup and quit to launcher button handling. 2023-02-10 22:15:09 +00:00
Mike Bell 26eeb2b042 Badger2040W: Use partial update for seconds on clock 2023-02-10 22:15:09 +00:00
Phil Howard 2109d7fb37 Badger2040W: Move weather icons from examples dir to icons/. 2023-02-10 22:15:09 +00:00
Phil Howard 9ea196adb1 Badger2040W: Tidyup icons, crop to 52x52. 2023-02-10 22:15:09 +00:00
Phil Howard a70ce8a4a6 Badger2040W: Call wrapped-update in lib. 2023-02-10 22:15:09 +00:00
Hel Gibbons d4273ebbcb Badger2040W: Add weather example and icons. 2023-02-10 22:15:09 +00:00
Phil Howard 7a2ffccf16 Badger2040W: Simplify clock, time is set via NTP. 2023-02-10 22:15:09 +00:00
Phil Howard 548e1fdbdb Badger2040: Add image path to badge.txt. 2023-02-10 22:15:09 +00:00
Phil Howard b5fb62c8f6 Badger2040W: Fix noise in icon files. 2023-02-10 22:15:09 +00:00
Phil Howard c56844ae69 Badger2040W: Fix clock network check. 2023-02-10 22:15:09 +00:00
thirdr 6e44434e7d fixed quit to launcher 2023-02-10 22:12:02 +00:00
Phil Howard de8ed26460 Badger2040W: Force wait for screen refresh finish. 2023-02-10 22:12:02 +00:00
Phil Howard 6349d45768 Badger2040W: Remove BUTTON_USER since it doesn't exist. 2023-02-10 22:12:02 +00:00
Phil Howard d8f9b81eca Badger2040W: Port ebook example. 2023-02-10 22:12:02 +00:00
Phil Howard 23f792caa9 Badger2040W: Finish core libs, add Badge. 2023-02-10 22:12:02 +00:00
thirdr 379a1cb3ef Badger2040W: New examples. 2023-02-10 22:12:02 +00:00
Phil Howard 6526787772 Badger2040W: Drop turbo clock from launcher. 2023-02-10 22:12:02 +00:00
Phil Howard 15dabdba1f Badger2040W: Fix very slow and very wrong __getattr__. 2023-02-10 22:12:02 +00:00
Phil Howard a02834be9e Badger2040: Port more examples. 2023-02-10 22:12:02 +00:00
Phil Howard f82e21018f Badger2040W: Remove font sizes from launcher.py. 2023-02-10 22:12:02 +00:00
Phil Howard 1dbc992180 Badger2040W: Fixes to launcher and badger libs. 2023-02-10 22:12:02 +00:00
Phil Howard e859b39e11 Badger2040W: Fix linting, use micropython-lib urllib. 2023-02-10 22:12:02 +00:00
Phil Howard 2b3b1e4676 Badger2040W: Fix (blank line in) .uf2 manifest. 2023-02-10 22:12:02 +00:00
Phil Howard 984dbd5185 Badger2040W: Switch launcher to jpegdec, reorganise files. 2023-02-10 22:12:02 +00:00
Phil Howard 81d9b2ab81 Badger2040W: Add examples and libs. 2023-02-10 22:12:02 +00:00
Phil Howard ac2da23c96 Badger2040W: Append filesystem. 2023-02-10 22:12:02 +00:00
Philip Howard c4decc5003
PicoGraphics: HSV Pen (#665)
Co-authored-by: Gee Bartlett <122281230+ageeandakeyboard@users.noreply.github.com>
2023-02-09 16:13:37 +00:00
Simon Shirley cd95edc707 Refactor: Attempt to fix Python linting 2023-01-31 19:49:51 +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
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
Hel Gibbons 1ece897490 add link 2023-01-18 17:11:06 +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
thirdr e0d578bd07 Adjusted error message layout and wording 2023-01-11 09:49:31 +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
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
Philip Howard 5a2a62b471
Merge pull request #602 from housten/patch-1
Correct badge picture dimensions
2022-12-16 21:04:13 +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
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 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 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