Commit Graph

79 Commits

Author SHA1 Message Date
Connor Linfoot 32c10482d9
Add support for 96x48 display to Interstate75 (#867)
* Add DISPLAY_INTERSTATE75_96X48
2024-04-17 13:41:02 +01:00
Phil Howard 6154116662 CI: Move build steps to a bash script. 2024-01-08 11:20:04 +00:00
Hel Gibbons 5345cc42d2
Add I2C pins for PicoVision 2023-09-25 14:53:54 +01:00
Pete Favelle a59aa35df5
Improved inky's sleep_for, now handles up to 28 days (#754) 2023-05-04 14:54:23 +01:00
Phil Howard b30d9ca554 CI: Switch py modules from cmake hacks to manifest.py.
A long overdue fix. Uses board-specific manifest.py files to freeze Python modules, instead of polluting ports/rp2/modules.
2023-05-03 18:04:55 +01:00
andrewmk 49e0b25557
Fix relative link to PicoGraphics documentation 2023-04-26 11:27:44 +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 2c0310ca9a MicroPython: Switch C++ allocation mode in boot.py. 2023-03-24 20:37:26 +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
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
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
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
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 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 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 58ee3b1e97 added boot button to module 2023-02-22 11:35:33 +00:00
Phil Howard b0c25a57a2 Inky 7.3: Add LEDs to Python module. 2023-02-20 12:29:59 +00:00
Philip Howard de8cb95ab4
Merge pull request #660 from pimoroni/patch/hub75_color_order
Add support to Interstate / HUB 75 for panels with different color orders
2023-02-10 21:43:28 +00:00
Phil Howard 1fc00ac5af CI: Generate version.py for #664. 2023-02-10 21:12:56 +00:00
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
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 f1e9e00cd5 Inky Frame: Add wakeup SR to lib, fix wakeup bug. 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
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 36401e174e MicroPython: Create inky_frame module for buttons. 2022-11-09 13:34:30 +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
Gee Bartlett 7a458f32e4 Update gfx_pack.md 2022-11-07 14:23:20 +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
Gee Bartlett eef9334805 gxf module and examples done 2022-11-04 10:21:27 +00:00
helgibbons 86b1cd40dc Update readmes 2022-10-06 15:54:50 +01:00
helgibbons 3fa620db10 Fix error in automation.py 2022-10-06 15:52:48 +01:00
Gee Bartlett 28b6698430
Automation 2040w MicroPython PWM (#489)
Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2022-10-06 12:27:46 +01:00
Philip Howard 5d47ae080c
Merge pull request #453 from pimoroni/patch-automation2040w-doc
Added documentation for Automation 2040W
2022-07-22 14:59:23 +01:00
Phil Howard ec7bc36659 MicroPython: Add ShiftRegister class. 2022-07-21 14:11:26 +01:00
ZodiusInfuser ea4d514d57 Doc improvements and added C++ doc 2022-07-20 16:10:37 +01:00