Commit Graph

298 Commits

Author SHA1 Message Date
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 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 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 16106d5596 Micropython bindings for ColourLCD and minor tweaks for ST7789, and RoundLCD 2021-05-07 13:48:51 +01:00
Phil Howard a5dfb9fd78 Add BSD 2c license to sdcard driver 2021-05-07 11:13:04 +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
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
ZodiusInfuser 7b15bda03c Fix for initialisation order issue 2021-04-23 10:12:40 +01:00
Phil Howard 91bf9be9f0 IS31FL3731 for RGBMatrix5x5 and Matrix11x7
Add IS31FL3731 driver
Add RGBMatrix5x5 library and example
Add Matrix11x7 library and example

Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com>
2021-04-22 17:29:37 +01:00
Philip Howard 7776536d83
Merge pull request #126 from pimoroni/pico-wireless
C++/MicroPython Support & Examples for Pico Wireless
2021-04-22 13:40:59 +01:00
ZodiusInfuser a406bb5e11 Added final missing functions from wifi api 2021-04-20 12:05:29 +01:00
Phil Howard b3df1483c1 Add breakout-garden SPI slot selection for ST7789 displays
A new constructor has been added which accepts a enum type BG_SPI_SLOT which can be either:

ST7789::BG_SPI_FRONT or ST7789::BG_SPI_BACK.

This selects the correct CS/BL pins for the respective breakout-garden SPI slot.

Additionally the PWM'd backlight is turned *on* by default to avoid any confusion when the user does not set a value.
2021-04-19 17:22:56 +01:00
ZodiusInfuser 15ccd8f001 Added digital_read and analog_read functions 2021-04-19 16:44:11 +01:00
ZodiusInfuser 47bfada0d9 Fixes for picowireless not showing in Micropython 2021-04-15 10:11:16 +01:00
ZodiusInfuser 971ac565dd Finished micropython bindings for current C++ class implementation 2021-04-15 10:11:16 +01:00
Phil Howard 306877cdf5 Add RGB HTTP demo 2021-04-15 10:11:16 +01:00
Phil Howard 2e3af3b436 Silence warnings, rename prot_mode
* Silences printf output on wait falures, original library had these as WARN so I assume they're completely optional and mostly just noise.
* Renames the "prot_mode" parameter to "protocol_mode" so it doesn't look like someone typod "port_mode" a lot.
2021-04-15 10:11:16 +01:00
Phil Howard 0703c90dea Use std::string in API 2021-04-15 10:11:16 +01:00
ZodiusInfuser 8ff49474ea Progressed on Wifi class, adding IPAddress 2021-04-15 10:11:16 +01:00
ZodiusInfuser e5545c1c02 Added latest local code for wireless pack 2021-04-15 10:11:16 +01:00
Phil Howard 50912e65bf Revert ST7789 backlight for Pico Display 2021-03-31 11:45:54 +01:00
ZodiusInfuser 848aa19c2c Added micropython support and example for roundlcd breakout 2021-03-30 15:15:13 +01:00
Phil Howard f812e23d8e Cleaner RASET, CASET and MADCTL handling 2021-03-29 13:18:31 +01:00
David Tillotson 1993d403e5 Added portrait mode (building with the work from hamid-elaosta:portrait) 2021-03-29 13:18:31 +01:00
David Tillotson 98b633f31f Correct version of the st7789.cpp driver! 2021-03-29 13:18:31 +01:00
David Tillotson 237d59d1d1 Slight efactor of st7789 driver, and addition of the flip function 2021-03-29 13:18:31 +01:00
Simon Reap 0166208a52 Pico driver for vl53l1x Time of Flight breakout 2021-02-22 22:02:23 +00:00
Simon Reap 89386dada3 Fix getTimerCount() for > 256 units 2021-02-08 16:15:53 +00:00
Simon Reap 456b9309bd RV3028 RTC Driver and example for Raspberry Pico 2021-02-03 14:20:31 +00:00
Phil Howard 1d845374f7 Add cmake files for other libraries 2021-01-22 14:33:17 +00:00
Phil Howard 8dae215552 Add .cmake files to support out-of-tree projects 2021-01-22 14:03:38 +00:00
ZodiusInfuser 75560ea038 Added outline of an mpy wrapper for pico_display 2021-01-20 15:59:48 +00:00
Jonathan Williamson 6911719183 example driver for MSA301, ability to embed an image into binary and draw it on screen 2021-01-17 16:05:28 +00:00
Jonathan Williamson 96d702ef9a PicoExplorer library and example, basic text support for PicoGraphics 2021-01-17 07:41:25 +00:00
Jonathan Williamson 9f31765c98 Setup libraries and drivers correctly for CMake 2021-01-16 15:02:18 +00:00
Jonathan Williamson 90d3ab8178 pico display driver 2021-01-16 12:26:03 +00:00
Jonathan Williamson cf86122d56 ST7789 driver 2021-01-15 16:12:36 +00:00