Commit Graph

53 Commits

Author SHA1 Message Date
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
ZodiusInfuser df4a7639c8 Added function reference 2022-07-20 15:43:13 +01:00
ZodiusInfuser 0313d2b750 Added documentation for Automation 2040W 2022-07-20 15:37:39 +01:00
Phil Howard feac1fed75 CI: Add Automation + Inventor to picow build. 2022-07-01 07:34:21 +01:00
ZodiusInfuser d9d8f4417a
Libraries and examples for Automation 2040 W (#418)
* Libraries and examples for Automation 2040 W

* Fix for initialisation error
2022-07-01 07:05:37 +01:00
ZodiusInfuser 6f8152df0f Libraries and examples for Inventor 2040 W 2022-06-30 21:30:43 +01:00
Phil Howard 24f4b6fc83 MicroPython: Drop crummy PicoSystem module.
Saves about 1.5k.
2022-06-13 20:12:03 +01:00
Phil Howard 7068217ccb Fix linting error. 2022-06-13 20:11:09 +01:00
Phil Howard 38efc7de62 MicroPython: Fix pimoroni.py 2022-06-13 20:11:09 +01:00
Phil Howard dbd716f78f Add Buzzer to Pimoroni module 2022-06-13 20:11:09 +01:00
Philip Howard db60553322
Merge pull request #327 from pimoroni/feature/merged-st7789
ST7789: Create generic display driver
2022-05-18 13:37:56 +01:00
Phil Howard e870949a27 MicroPython: Add slots to pimoroni.py 2022-05-12 12:45:01 +01:00
ZodiusInfuser 56451bff30 Finished MP examples 2022-04-26 12:52:28 +01:00
ZodiusInfuser 7608e3f293 Encoder driver finalising 2022-04-25 12:28:42 +01:00
ZodiusInfuser 1bde0acbef Renamed target to setpoint to be more accurated to PID literature 2022-04-22 15:22:32 +01:00
ZodiusInfuser 98c57741b6 linting fix 2022-04-21 21:22:35 +01:00
ZodiusInfuser c837081fe2 Added PID class and MP tuning examples 2022-04-21 16:47:37 +01:00
ZodiusInfuser 8a36102c53 Merged in old motor implementation 2022-03-30 15:50:12 +01:00
ZodiusInfuser ce31f88e2d Added HEADER_I2C_PINS etc for rp application boards 2022-03-30 14:29:02 +01:00
ZodiusInfuser e41a8bd6e5 Added sensor reading example, with mux support 2022-03-30 14:29:02 +01:00
Phil Howard 2fd0330f63 CI: Move modules_py copy to CMake 2022-03-11 09:24:54 +00:00
Phil Howard f763bae3f4 SCD41: Add i2c pins to MicroPython example 2022-01-27 11:13:22 +00:00
Phil Howard 6170e258f2 PicoSystem: Bat sense scaling 2021-10-06 11:38:10 +01:00
Phil Howard 321b9ad4af PicoSystem: Move LED after screen init
The screen init (C++ bindings) was trouncing the PWM setup (Python) for the RGB LED.

This is because the backlight pin (12) and LED G pin (13) share the same PWM slice.

This does not seem to affect the screen backlight functionality.
2021-10-06 11:07:56 +01:00
Phil Howard 44b45e8f00 PicoSystem: add buzzer support 2021-10-04 18:19:26 +01:00
Phil Howard 113cc7c96e PicoSystem: add helper module to set up PicoSystem
Sets up:
* Buttons
* RGB LED
* VBus detect
* Charge detect
* Battery sense
* LCD reset
* Display

TODO: audio
TODO: battery sense settings
2021-10-04 17:52:53 +01:00
ZodiusInfuser 5b27d7ac0d Fix for "Changed rgb to use full pwm range" 2021-08-19 12:58:13 +01:00