Commit Graph

745 Commits

Author SHA1 Message Date
Jonathan Williamson f211fe67e6 Added MSA301 driver, library, and example 2021-05-14 10:01:29 +01:00
Phil Howard 37cac5940b Remove relative include paths
This change removes file-relative include paths and adds the project root as a global include path.

* Project root added to CMakeLists.txt so that all targets can find includes
* Project root added micropython.cmake so that targets used by the MicroPython build can find includes

Note: pico-boilerplate projects must set this include path
2021-05-13 12:06:01 +01:00
Philip Howard 15b85d1ee2
Merge pull request #142 from pimoroni/driver/as7262
C++ and MP support and example for AS7262 breakout
2021-05-12 16:16:25 +01:00
Phil Howard 2b70c1c0d7 AS7262 Add C++ explorer example 2021-05-12 16:05:49 +01:00
Phil Howard a4b464df12 AS7262 add Pico Explorer bargraph example 2021-05-12 16:05:43 +01:00
Phil Howard c4383647c6 AS7262 tweak C++ demo 2021-05-12 16:04:50 +01:00
Phil Howard 8db593a819 AS7262 convert float correctly 2021-05-12 16:04:50 +01:00
Phil Howard ae489873ee AS7262 add set_integration_time 2021-05-12 16:04:50 +01:00
ZodiusInfuser 9cbeb79b43 Micropython linting fixes 2021-05-12 16:04:50 +01:00
ZodiusInfuser a6c738d018 Finished micropython bindings for AS7262, and added example 2021-05-12 16:04:50 +01:00
ZodiusInfuser 5af43311f4 Micropython bindings and minor tweaks for AS7262 2021-05-12 16:04:50 +01:00
Phil Howard 6afbc2e64c AS7262 driver
Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2021-05-12 16:04:50 +01:00
Philip Howard f0a5b9b76e
Merge pull request #147 from pimoroni/patch/ci-break-invalid-path
Ensure MicroPython CI breaks with invalid paths
2021-05-12 11:51:43 +01:00
Phil Howard cf8f2dfac2 Fix invalid include paths
Fixes paths that only resolve when the top-level directory is named "pimoroni-pico"
and is adjacent to the "micropython" directory when building a MicroPython release.
2021-05-12 11:46:50 +01:00
Phil Howard 063beb79f1 Ensure MicroPython CI breaks with invalid paths
Deliberately renames the pimoroni-pico directory so that paths which reference it will break with a compilation error.

This ensures a micropython build works robustly if a user renames/moves the pimoroni-pico directory relative to micropython.
2021-05-12 11:41:46 +01:00
Philip Howard 5d27dbc711
Merge pull request #137 from pimoroni/driver/st7789
C++ and MP support and example for 1.3" LCD breakout
2021-05-10 08:59:19 +01:00
Philip Howard 0c22fa90d1
Merge pull request #140 from pimoroni/example/micropython-scroll-text
Simple example for scrolling text
2021-05-07 15:40:30 +01:00
Phil Howard d33c0caa27 Simple example for scrolling text 2021-05-07 15:02:52 +01:00
Philip Howard 5a60c477ac
Merge pull request #121 from graeme-winter/set-pixels-as-image
Set pixels as image, add show_bitmap_1d(), show_text()
2021-05-07 14:26:33 +01:00
Philip Howard a99be13272
Merge pull request #139 from pimoroni/example/pico-wireless-sdcard
Pico Wireless example: Serve files from SD card
2021-05-07 14:18:50 +01:00
Phil Howard 4047de13ac Fewer, faster circles in 240x240 LCD demo 2021-05-07 13:48:56 +01:00
Phil Howard 356e649308 Extra init for 240x240 ST7789 displays 2021-05-07 13:48:56 +01:00
Phil Howard f843b771ab Fix for ST7789 display flicker 2021-05-07 13:48:56 +01:00
ZodiusInfuser 0e64c5674e Removed unneeded includes 2021-05-07 13:48:56 +01:00
ZodiusInfuser 95773318d1 Added better example for LCD 2021-05-07 13:48:56 +01:00
ZodiusInfuser f4a58ec2b2 Changed private to public 2021-05-07 13:48:56 +01:00
ZodiusInfuser c6068c0fec Reordered variables 2021-05-07 13:48:56 +01:00
ZodiusInfuser 84015d7de9 ST7789 tidyup, incl. whitespace removal 2021-05-07 13:48:56 +01:00
ZodiusInfuser 7b0823d867 Fixes for python linting 2021-05-07 13:48:56 +01:00
ZodiusInfuser 16106d5596 Micropython bindings for ColourLCD and minor tweaks for ST7789, and RoundLCD 2021-05-07 13:48:51 +01:00
Philip Howard 69fc35db80
Merge pull request #138 from pimoroni/driver/st7735
C++ and MP support and example for 0.96" LCD breakout
2021-05-07 12:39:20 +01:00
Phil Howard a5dfb9fd78 Add BSD 2c license to sdcard driver 2021-05-07 11:13:04 +01:00
ZodiusInfuser 02c5817865 Removed unneeded includes 2021-05-07 11:10:48 +01:00
ZodiusInfuser 2c2b97e0ce Added better example for LCD 2021-05-07 11:10:48 +01:00
ZodiusInfuser c613a0f75d Added pin defines 2021-05-07 11:10:48 +01:00
ZodiusInfuser 2be5b11c42 Micropython bindings for small ColourLCD and ST7735 2021-05-07 11:10:47 +01:00
Philip Howard 1bf5be9da4
Merge pull request #136 from pimoroni/driver/sgp30
C++ and MP support and example for SGP30 breakout
2021-05-06 11:18:11 +01:00
ZodiusInfuser 76c0b29f8a Micropython linting fixes 2021-05-06 10:16:17 +01:00
ZodiusInfuser ded2710f90 Micropython binding fixes and example for SGP30 2021-05-06 10:16:10 +01:00
ZodiusInfuser 77ca674ac8 Micropython bindings and minor tweaks for SGP30 2021-05-06 10:01:55 +01:00
Simon Reap 62e085e81c SGP30 driver for Raspberry Pico
Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2021-05-06 10:01:19 +01:00
ZodiusInfuser 3f379d04e7
C++ and MP support and example for LTR559 breakout (#135)
* C driver and example for LTR559 breakout
* Micropython bindings and example for LTR559
2021-05-06 09:48:17 +01:00
Phil Howard 24fa369759 Pico Wireless HTTP SD Card demo 2021-05-05 17:32:35 +01:00
ZodiusInfuser 7d3eb60b33
C++ and MP support and example for Trackball breakout (#134)
* C and Micropython bindings for trackball
* C and Micropython examples for trackball
2021-05-04 22:29:53 +01:00
Philip Howard eee621db13
Merge pull request #131 from pimoroni/patch-is31fl3731
Recover the initialisation patch for is31fl3731
2021-05-04 10:35:24 +01:00
ZodiusInfuser 69ba1c88ef
C++ and MP support and examples for Dotmatrix breakout (#133)
* C driver for LTP305 breakout
* Micropython bindings for LTP305 breakout
* Micropython examples for dotmatrix
* C++ examples for dotmatrix

Co-authored-by: Phil Howard <phil@gadgetoid.com>
2021-05-04 10:34:52 +01:00
Philip Howard a4033a344d
Merge pull request #132 from helgibbons/main
Fixes colours in the MP cheerlights example
2021-04-30 09:43:33 +01:00
helgibbons cde1b97e57 Green fixed! 2021-04-29 20:18:24 +01:00
Phil Howard 5c785af983 Fix lookup table int type 2021-04-23 10:13:40 +01:00
ZodiusInfuser 7b15bda03c Fix for initialisation order issue 2021-04-23 10:12:40 +01:00