Commit Graph

1361 Commits

Author SHA1 Message Date
ZodiusInfuser f353525090 First porting of python examples 2023-05-02 10:22:14 +01:00
ZodiusInfuser e3c3692e31 Test python for encoder 2023-05-02 10:22:14 +01:00
ZodiusInfuser 15978e5ddc Temporary fix for compiler issues 2023-05-02 10:22:14 +01:00
ZodiusInfuser 59d57a193b Initial support for Encoder wheel breakout 2023-05-02 10:22:14 +01:00
andrewmk 49e0b25557
Fix relative link to PicoGraphics documentation 2023-04-26 11:27:44 +01:00
Phil Howard af99d6d5f8 MicroPython: Set board manifest for Inky, Enviro. 2023-04-24 15:05:21 +01:00
Hel Gibbons cb5dcb965e
Merge pull request #750 from pimoroni/helgibbons-patch-1
Galactic: add link
2023-04-19 11:02:55 +01:00
phennessey7 d78fffcd54
Update noise.py
Replaced extra blank line after edit on line 112 that was mistakenly deleted!
2023-04-14 10:04:07 -07:00
phennessey7 7b7959ef20
Update noise.py
Updated the song notes to play a more accurate version of the "Sailor's Hornpipe" tune!
2023-04-13 12:15:55 -07:00
Hel Gibbons 39eae8d42c
Galactic: add link 2023-04-13 13:31:01 +01:00
Quitsoon f6206876b7
Update pico_rtc.py
Just a little correction of the word "timer" instead of "alarm" for the last test.
2023-04-11 21:17:35 +02:00
mutatrum 7bdd85d677 Fix web server only serving file once and wifi country configuration 2023-04-08 16:57:01 +02:00
Philip Howard 7b7352130f
Merge pull request #739 from pimoroni/helgibbons-patch-1
PicoGraphics: document `dither=False`
2023-03-29 11:38:07 +01:00
Phil Howard 3bdb27458f CI: Don't monkey with manifest.py paths. 2023-03-28 22:12:00 +01:00
Phil Howard cce02feabd CI: Set MICROPY_BOARD_DIR in CI workflow.
Move out of the USER_C_MODULES .cmake file.
2023-03-28 22:04:41 +01:00
Phil Howard aeca08f275 CI: Restore Tufty 2040 board def.
Set the PICO_BOARD_HEADER_DIRS environment variable as per https://github.com/raspberrypi/pico-sdk/blob/master/src/boards/generic_board.cmake

Add our local search path alongside the existing Pico SDK boards dir.
2023-03-28 21:25:22 +01:00
Phil Howard d69797689a CI: Reduce repetition in product names. 2023-03-28 21:06:07 +01:00
Phil Howard 883d751f52 CI: Switch to MICROPY_BOARD_DIR and simplify fixups. 2023-03-28 21:05:05 +01:00
Hel Gibbons 5fa99c0690 PicoGraphics: add link 2023-03-28 16:44:30 +01:00
Hel Gibbons 75602b3fbb Galactic: add link 2023-03-28 16:17:45 +01:00
Hel Gibbons 6e7ec899eb
PicoGraphics: document `dither=False` 2023-03-28 15:56:15 +01:00
Phil Howard 540bc2f75f Pico Unicorn/Scroll: Add buttons/dimensions to both module and class. 2023-03-27 15:11:30 +01:00
Phil Howard bad6a9e8d6 CPPMEM: Reduce fixed C++ heap to 1k.
Removing the use of std::map from LTP305's "dotfont" dramatically reduced init heap usage. Reduce the fixed buffer to account for this.
2023-03-27 15:11:30 +01:00
Phil Howard 049a121974 Dot Matrix: Allow set char from string. 2023-03-27 15:11:30 +01:00
Phil Howard 140fe913ae MicroPython: Don't include wireless pack in W builds. 2023-03-27 15:11:30 +01:00
Philip Howard 9f71c04ea8
Merge pull request #731 from pimoroni/patch-wifi-examples
MicroPython: Various networking fixes to code & examples.
2023-03-27 11:16:44 +01:00
Phil Howard 0d0dc6a781 MicroPython: Various networking fixes to code & examples.
Replaces https://github.com/pimoroni/pimoroni-pico/pull/712, https://github.com/pimoroni/pimoroni-pico/pull/632 and https://github.com/pimoroni/pimoroni-pico/pull/630

Co-authored-by: ben4github <ben4github@users.noreply.github.com>
Co-authored-by: Alexander Gee <bostwickenator@gmail.com>
2023-03-27 11:06:36 +01:00
Philip Howard 2303702c15
Merge pull request #730 from pimoroni/patch-boot-py
Move boot.py to modules_py.cmake
2023-03-27 10:59:25 +01:00
Phil Howard 0148e5f5e7 MicroPython: Move boot.py to modules_py.cmake.
The cppmem module *must* be switched into MicroPython heap mode or C++ code will inevitably run out of RAM.

Thus boot.py needs to be included in every build.
2023-03-27 10:41:16 +01:00
Phil Howard f5859ad371 Badger: Drop deprecated cmake files. 2023-03-27 10:31:12 +01:00
Phil Howard 393879581a Badger 2040: Add deprecation warnings and firmware links. 2023-03-27 10:30:19 +01:00
Philip Howard c6b4a30c09
Merge pull request #725 from pimoroni/patch-frame-convert-heap
MicroPython: Magic C++ Memory Management.
2023-03-27 10:28:16 +01:00
Janos P Toth be1b827cfc
Update README.md 2023-03-25 10:14:58 -07:00
Phil Howard 2c0310ca9a MicroPython: Switch C++ allocation mode in boot.py. 2023-03-24 20:37:26 +00:00
Phil Howard 667faf70d1 MicroPython: Magic C++ allocator module.
This module redirects all pre-init object memory allocations into a static, fixed-sized, linear, non-freeing memory pool.

It then auto-switches into "MICROPYTHON" mode, whereupon all C++ `new` and `delete` calls are remapped to `m_malloc` and `m_free` respectively.
2023-03-24 15:11:07 +00:00
Hel Gibbons 0666dc885a
Scroll Pack: Fix demo.py 2023-03-21 14:24:03 +00:00
Hel Gibbons 5392c5aa03
Merge pull request #713 from pimoroni/examples/inky_frame
Inky Frame: add new examples and update sample images
2023-03-20 14:18:43 +00:00
Phil Howard f9b46ba3a7 Pico Scroll: PicoGraphics scrolling text example. 2023-03-16 17:34:52 +00:00
helgibbons ec4c6c83f4 Inky Frame: correct typo 2023-03-16 17:13:23 +00:00
helgibbons 6f06ab246c Inky Frame: update image_gallery.py 2023-03-16 17:10:16 +00:00
Phil Howard 1b0b783a2f Pico Scroll: Add support for PicoGraphics. 2023-03-16 16:59:31 +00:00
helgibbons 9aa0465d8b hub75: function correction 2023-03-16 16:52:17 +00:00
Phil Howard b83bdbf198 MicroPython: Pico W parity with Pico build. 2023-03-16 15:02:32 +00:00
Phil Howard f2751ba6e9 Pico Unicorn: Add support for PicoGraphics. 2023-03-16 15:02:28 +00:00
Phil Howard 3eb42336e6 Pico Unicorn: Refactor into class.
Borrow heavily from Galactic/Cosmic Unicorn for the PIO/chained-DMA setup.
2023-03-16 13:25:19 +00:00
Phil Howard 044313551b Pico Scroll: Refactor to class. 2023-03-16 13:25:19 +00:00
Phil Howard bd3651d97d Pico RGB Keypad: Refactor to class.
Because `mp_tracked_calloc` does not survive a soft reset but the memory region will, resulting in half-initialised frankenclasses that behave unpredictably.

Using the class pattern fixes this since it's always guaranteed to be initialised when a user instantiates it, and __del__ can handle cleanup.
2023-03-16 13:25:19 +00:00
Phil Howard 9964ed716b Servo/Motor: Use m_new instead of new. 2023-03-16 13:25:19 +00:00
Phil Howard a45eeb1623 Pico Wireless: Use tracked alloc. 2023-03-16 13:25:19 +00:00
Phil Howard aa91450f59 Pico Unicorn: Use tracked alloc. 2023-03-16 13:25:19 +00:00
Phil Howard dd7ea6fdc3 Pico Scroll: Use tracked alloc. 2023-03-16 13:25:19 +00:00
Phil Howard e4cb7ce95f Pico RGB Keypad: Use tracked alloc. 2023-03-16 13:25:19 +00:00
Phil Howard 157841f9db MicroPython: Add tracked alloc/free class helpers. 2023-03-16 13:25:19 +00:00
Phil Howard 1f0302bd66 BME280: Check read status and throw error on fail. 2023-03-16 13:25:19 +00:00
Phil Howard 375df60ff3 PicoGraphics: Switch to string_view.
MicroPython's GET_STR_DATA_LEN macro returns a const byte array and len, which std::string would copy into heap.

Using string_view lets us wrap the existing const values.
2023-03-16 13:25:19 +00:00
Phil Howard b74b371d2b JPEGDEC: Don't pass filename through std::string.
The result of GET_STR_DATA_LEN should be null terminated, so converting to a std::string and then using .c_str() is both redundant and need
s heap.
2023-03-16 13:25:19 +00:00
Hel Gibbons d0e2425e07
Merge pull request #655 from pimoroni/patch/i75-userbutton
i75/i75w: Auto-detect board and set up user button.
2023-03-16 11:58:59 +00:00
Hel Gibbons 60fe949fc5 fix link 2023-03-15 16:57:15 +00:00
Hel Gibbons 0e6dbc1a6c add link 2023-03-15 11:22:23 +00:00
Hel Gibbons 9bee6d7431 tweak carbon intensity example 2023-03-15 10:39:54 +00:00
Michael Mogenson 2f26c172ed clock.py: constrain hour to 0 to 24
Use a modulo to constrain the displayed hour to 0 - 24 after applying
the UTC offset.
2023-03-14 21:22:59 -04:00
Hel Gibbons 2db116ccec update readme 2023-03-14 14:29:20 +00:00
Hel Gibbons 9ed2c40808 add carbon intensity example 2023-03-14 14:22:28 +00:00
Hel Gibbons 9730fee753 update readmes 2023-03-13 17:12:29 +00:00
Hel Gibbons 0138980849 update images, add new random image example 2023-03-13 16:56:28 +00:00
helgibbons 6f73f8fc83 Inky Frame: add more space images 2023-03-09 23:56:28 +00:00
Phil Howard 13599b55a1 MicroPython: Tidy up CMake files for our boards.
* Feature parity between Badger 2040 and Tufty 2040.
* Add ulab to Tufty 2040.
* Don't include modules_py modules for boards that don't use/need them.
* Tweak modules_py.cmake so modules can be copied by parent CMake files.
* Simplify copy_module function to avoid repetition.
2023-03-09 11:36:55 +00:00
Philip Howard faf4efac34
Merge pull request #702 from pimoroni/docs/inky73
Inky 7.3 tweaks & docs
2023-03-08 21:02:06 +00:00
Phil Howard a448043870 Inky Frame: Document buttons & LEDs.
Expand upon memoryview caveat with Inky 7.3.
2023-03-08 20:48:58 +00:00
Phil Howard 75d56d04ad Inky Frame: Use PWMLED for button LEDs. 2023-03-08 20:31:30 +00:00
Phil Howard f255f419a1 Inky Frame: Use new PWMLED for led_busy and led_wifi. 2023-03-08 20:15:38 +00:00
Phil Howard 3f92caee22 Inky Frame: Better document colour constants. 2023-03-08 16:57:33 +00:00
Hel Gibbons 3d597e7d03 Inky Frame: make image_gallery work with all sizes 2023-03-08 16:54:36 +00:00
Phil Howard 83f88c034d PicoGraphics: Enable thickness for all pens. Document. 2023-03-08 14:34:28 +00:00
Phil Howard aed14aca22 PicoGraphics: Expose line thickness support. 2023-03-08 12:08:47 +00:00
Phil Howard cacb5749ae Inky Frame: Add thickness support for Hershey text. 2023-03-08 11:35:07 +00:00
Anton Mosich aee0a2879b
Fix small typo in README 2023-03-06 23:28:47 +01:00
Phil Howard 63d4c23cd5 Inky Frame: Basic RTC demo. 2023-03-06 10:51:21 +00:00
Phil Howard a6e35e207d Inky Frame: Check current button state in woken_by_button.
Makes it easier to test wakeup logic in Thonny by holding a button when hitting "Run."
2023-03-06 10:51:21 +00:00
Phil Howard 07a5aac48f Inky Frame: Python Documentation. 2023-03-06 10:51:16 +00:00
Hel Gibbons f194715108
Merge pull request #701 from LionsPhil/autobrightstandalone
Contribute an automatic display brightness example
2023-03-03 11:34:16 +00:00
Phil Howard 56e5878b62 Inky Frame: Fix button masks, fakesleep on USB. 2023-03-03 10:56:50 +00:00
Phil Howard b6d0e54803 Inky Frame: Add RTC helper functions to Python module. 2023-03-02 17:33:30 +00:00
Phil Howard 9e120995b2 Inky Frame: Add colour constants to Python module. 2023-03-02 13:09:55 +00:00
Phil Howard f4f5c6319a Inky Frame: Add dithering example. 2023-03-02 13:09:14 +00:00
Phil Howard 64632559f9 Inky 7.3: Raise error on PicoGraphics buffer operations. 2023-03-02 13:08:44 +00:00
Philip Howard 6be46dd429
Merge pull request #700 from pimoroni/examples/galactic-co2
Galactic: add CO2 breakout example
2023-03-02 11:44:04 +00:00
LionsPhil 0a6d6b91b3 Contribute an automatic display brightness example
Standalone smoothed display auto-brightness, reactive to the on-board
LUX and battery ADC sensors, with debugging keys so it's easier to test
(and play with).

Closes pull requests #628 and #629, which did this to the retro_badge
example, but made it too complicated.
2023-03-02 00:29:23 +00:00
Hel Gibbons 3d96ff9d92 Galactic: update examples readme 2023-03-01 14:16:12 +00:00
Hel Gibbons 421e715f06 Galactic: lint CO2 example 2023-03-01 13:55:40 +00:00
Hel Gibbons 8e91108ce5
Merge pull request #695 from pimoroni/inkyframe7-launch
Launcher for Inky Frame 7.3"
2023-03-01 12:32:38 +00:00
thirdr b66fc524ae adjustment to joke delivery position 2023-03-01 12:11:18 +00:00
thirdr 0cec01cf37 Switching from using JPEG to JSON files 2023-03-01 11:08:49 +00:00
Hel Gibbons 1dbd3ea312
Merge pull request #546 from Corteil/Galactic-Unicorn-CheerLights
CheerLights example for the Galactic Unicorn
2023-03-01 09:52:12 +00:00
Brian Corteil f882efc901 Update cheerlights.py
removed white space from line 20 in cheerlights
2023-02-28 23:39:35 +00:00
Hel Gibbons bc49a69416 Galactic: add co2 example 2023-02-28 17:51:08 +00:00
Philip Howard 5abbf9b5c8
Merge pull request #699 from pimoroni/docs/picographics_create_pen_hsv
PicoGraphics: correct hsv pen reference
2023-02-28 16:57:28 +00:00
Hel Gibbons 5ca10794a8
PicoGraphics: clarify hsv units 2023-02-28 15:43:19 +00:00
Hel Gibbons 1cb170664e
PicoGraphics: correct hsv pen reference 2023-02-28 15:16:08 +00:00
Phil Howard 07a1bf645a Cosmic Unicorn: RGB channels example in ulab/numpy. 2023-02-28 14:46:41 +00:00
thirdr 45a12892b8 adding blank secrets.py 2023-02-28 13:36:25 +00:00
Hel Gibbons de6b7e2828 Inky Frame: fix more typo 2023-02-28 13:10:44 +00:00
Hel Gibbons 579b8daa4e fix typo 2023-02-28 12:54:28 +00:00
Phil Howard 0fda232dcb Cosmic Unicorn: Melody Maker. 2023-02-28 10:10:57 +00:00
Phil Howard cbc21e52be Galactic/Cosmic Unicorn: Add sound to 80s computer. 2023-02-28 08:48:15 +00:00
Phil Howard b4d72d250d Galactic/Cosmic Unicorn: Remove loop from life.
More numpy magic to remove the Python loop and drastically increase life generation performance.
2023-02-27 23:13:44 +00:00
Phil Howard 10ea8757ea Galactic/Cosmic Unicorn: Life. 2023-02-27 22:31:52 +00:00
Phil Howard c836f9f8fe Galactic Unicorn: Backport Cosmic ulab/numpy examples. 2023-02-27 20:47:39 +00:00
Phil Howard d750532180 Cosmic Unicorn: Fix typo in lava_lamp.
Found while backporting to Galactic.
2023-02-27 20:34:03 +00:00
Phil Howard ad5e4cc10e Cosmic Unicorn: Eighties super computer in numpy/ulab. 2023-02-27 19:52:56 +00:00
Hel Gibbons ec601de9a4 Cosmic: Update examples readme 2023-02-27 16:47:08 +00:00
Hel Gibbons 6aa5aaf50c Cosmic: update examples readme 2023-02-27 16:01:37 +00:00
Hel Gibbons 8069ae0e8f Cosmic: make examples consistent 2023-02-27 15:43:38 +00:00
Hel Gibbons 3459cc5f62 Cosmic: update clock example 2023-02-27 15:09:58 +00:00
Hel Gibbons 931b3b26b2 PicoGraphics: add note about HSV pen 2023-02-27 15:09:58 +00:00
Hel Gibbons b6042e78c1 Cosmic: update function reference 2023-02-27 15:09:58 +00:00
Hel Gibbons c194fc7a2b Cosmic: add examples readme 2023-02-27 15:09:58 +00:00
Hel Gibbons 3e44edf66a Galactic/Cosmic: fix #556 2023-02-27 15:09:58 +00:00
Hel Gibbons c2b1eb47e5 Galactic - fix #661 2023-02-27 15:09:58 +00:00
Hel Gibbons 86c304d192 Cosmic - update remaining examples 2023-02-27 15:09:58 +00:00
thirdr b762ee8861 more colour and layout adjustments 2023-02-27 14:54:27 +00:00
thirdr 36458436bc oops, linting fix 2023-02-27 14:54:27 +00:00
thirdr d29666b87a colour adjustments 2023-02-27 14:54:27 +00:00
thirdr 797c0bbfd4 added exception handling 2023-02-27 14:54:27 +00:00
thirdr 9f8596c031 Switched from Taupe to Orange background text 2023-02-27 14:54:27 +00:00
thirdr 2357e8225b removed taupe colour from launcher 2023-02-27 14:54:27 +00:00
thirdr bc89afb58c Updated layout for Inky Frame 7 & 4 2023-02-27 14:54:27 +00:00
thirdr e8ff06dac8 Updated standalone examples for Inky Frame 7 2023-02-27 14:54:27 +00:00
thirdr 1fe071b713 support for inky 7 2023-02-27 14:54:27 +00:00
thirdr 44cc9d6e5e comment change 2023-02-27 14:54:27 +00:00
thirdr 66fbdde5e1 7.3 Frame support for Nasa APOD 2023-02-27 14:54:27 +00:00
thirdr 93dff218dc updated main launcher for 7 2023-02-27 14:54:27 +00:00
Philip Howard 9c1c9e6b8d
Merge pull request #694 from pimoroni/patch-cosmic-paint
Cosmic Unicorn: Port paint example.
2023-02-27 14:30:02 +00:00
thirdr d25b04c93f standalone today example 2023-02-27 13:44:30 +00:00
Phil Howard c9d39d813c Cosmic Unicorn: Port paint example. 2023-02-27 12:28:25 +00:00
Gee Bartlett ca9b9d6b6a checked and updated nostalga prompt example 2023-02-27 12:22:19 +00:00
Hel Gibbons 35cc345eb4 Hooray, linting! 2023-02-27 11:53:20 +00:00
Hel Gibbons 69ee5cff3a remove out of date upip install code 2023-02-27 11:53:20 +00:00
Hel Gibbons 9a613975d7 delete empty file 2023-02-27 11:53:20 +00:00
Gee Bartlett 4bc002091e added in the wifi examples from another branch 2023-02-27 11:53:20 +00:00
Brian Corteil 37ff6b8b37 Update cheerlights.py
updated with @Gadgetoid suggestion.
2023-02-23 21:35:29 +00:00
Philip Howard aab8f0be35
Merge pull request #225 from pimoroni/driver/mlx90640
Driver for the mlx90640 thermal camera
2023-02-23 17:18:46 +00:00
Phil Howard 8ff40fae6e MLX90640: MicroPython module. 2023-02-23 16:52:59 +00:00
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
Phil Howard bea90dfd60 JPEGDEC: Experimental 3bit/4bit palette no-dither. 2023-02-22 15:40:22 +00:00
Phil Howard 5f9d4e33b3 Interstate 75: Auto-detect board version. 2023-02-22 11:47:23 +00:00
Gee Bartlett 552339a49e Update interstate75.md 2023-02-22 11:41:07 +00:00
Gee Bartlett 8637967605 Made edits from review 2023-02-22 11:41:05 +00:00
Gee Bartlett 93a18a874a updated examples 2023-02-22 11:39:32 +00:00
Gee Bartlett 979cc38b2a updated button defs 2023-02-22 11:39:30 +00:00
Gee Bartlett 96c83f8ae4 Update interstate75.md 2023-02-22 11:35:33 +00:00
Gee Bartlett 2a1c1e464f moved text size and placement 2023-02-22 11:35:33 +00:00
Gee Bartlett 58ee3b1e97 added boot button to module 2023-02-22 11:35:33 +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
Philip Howard b08cf1fba0
Merge pull request #678 from pimoroni/patch-cosmic-example
Patch: fixed error caused by missing secrets.py
2023-02-22 11:04:01 +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
Zoobdude 3797d4b76e
Update README.md 2023-02-21 21:48:44 +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 2176e0feb1 MicroPython: Avoid some duplication in CMake files. 2023-02-21 12:52:47 +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
Phil Howard ff3efc0d28 Cosmic Unicorn: Include ulab. 2023-02-21 12:52:46 +00:00
Phil Howard 1b2dae45d3 Cosmic Unicorn: Add config and workflow for .uf2. 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 93ac854672
Merge pull request #663 from pimoroni/feature/inky73
Support for Inky Frame 7.3" (using direct pen into PSRAM framebuffer)
2023-02-21 12:48:56 +00:00
Zoobdude ae908c6075
Update README.md 2023-02-20 19:50:01 +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
Phil Howard ab488a4452 Fixup: Add pins.csv files to W builds. 2023-02-20 12:29:59 +00:00
Phil Howard 00988c6207 Inky: Add urllib.urequest to manifest.py. 2023-02-20 12:29:59 +00:00
Phil Howard b0c25a57a2 Inky 7.3: Add LEDs to Python module. 2023-02-20 12:29:59 +00:00
Phil Howard 88e50891d1 Inky 7.3: Add to PicoGraphics. 2023-02-20 12:29:59 +00:00
Phil Howard 4928ceff8d Inky 7.3: Add pen type to JPEGDEC. 2023-02-20 12:29:59 +00:00
Philip Howard b810ffdfdb
Merge pull request #672 from pimoroni/patch-bump-micropython-pico-sdk-1.5.0
CI: Bump MicroPython to latest commit post Pico SDK 1.5.0 bump.
2023-02-20 12:14:34 +00:00
Phil Howard d34171381c MicroPython: Update fixups for v1.5.0. 2023-02-20 12:00:23 +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
helgibbons 2bdb05ce68 fix a couple of typos 2023-02-15 11:18:45 +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
Phil Howard cb82878cd2 Badger2040W: Add README.md for MicroPython. 2023-02-13 13:41:56 +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 d7b9881c0f Badger2040W: Add pins.csv to board fixup. 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 3a2a43f4b3 Badger2040W: Correct wakeup LED. 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