ZodiusInfuser
41365fd89e
Updated button example for new mp
2021-08-19 15:50:16 +01:00
ZodiusInfuser
681edd255b
Changed default ws2812 freq to 800khz
2021-08-19 15:36:25 +01:00
ZodiusInfuser
7496e8c8ba
Renamed plasma mp directory to match module name
2021-08-19 15:25:12 +01:00
ZodiusInfuser
c4e0316fd8
Linting fix
2021-08-19 15:19:01 +01:00
ZodiusInfuser
0faa312358
Updated micropython example to use working submodule
2021-08-19 15:16:40 +01:00
ZodiusInfuser
aac8c8d2fc
Test of sub module
2021-08-19 14:51:37 +01:00
ZodiusInfuser
3d34d70722
Removed unneeded statics
2021-08-19 14:22:43 +01:00
ZodiusInfuser
8e763f5efe
Added a plasma2040 namespaces
2021-08-19 14:12:56 +01:00
ZodiusInfuser
823729dc24
Move apa and ws PIO into drivers so they can be easily used with more boards
2021-08-19 13:40:46 +01:00
ZodiusInfuser
29954080e9
Merge branch 'patch_plasma2040' of https://github.com/pimoroni/pimoroni-pico into patch_plasma2040
2021-08-19 12:59:59 +01:00
ZodiusInfuser
c1cc505e0a
Tweak to rotary, for consistency
2021-08-19 12:58:13 +01:00
ZodiusInfuser
64e6d248d5
Updated rainbow example to be consistant across languages
2021-08-19 12:58:13 +01:00
ZodiusInfuser
ae09498953
Added analog class for plasma current reading
2021-08-19 12:58:13 +01:00
ZodiusInfuser
281288a6f4
Added Dat and Clk defines
2021-08-19 12:58:13 +01:00
ZodiusInfuser
f5aba96419
Added user button to rainbow example
2021-08-19 12:58:13 +01:00
ZodiusInfuser
373a7df923
Linting fixes
2021-08-19 12:58:13 +01:00
ZodiusInfuser
336791ed77
Updated plasma mp examples to use user_sw and current sensing
2021-08-19 12:58:13 +01:00
ZodiusInfuser
5b27d7ac0d
Fix for "Changed rgb to use full pwm range"
2021-08-19 12:58:13 +01:00
ZodiusInfuser
2b8fbde659
Changed rgb to use full pwm range
2021-08-19 12:58:13 +01:00
ZodiusInfuser
a9883788f8
Added pins for user sw and current sense
2021-08-19 12:58:13 +01:00
Philip Howard
c003834573
Merge pull request #192 from rabid-inventor/main
...
added staker game demo for plasma2040
2021-08-19 12:51:40 +01:00
Gee Bartlett
54e59bae27
added staker game demo for plasma2040
2021-08-18 17:26:51 +01:00
ZodiusInfuser
33dcdd2e22
Tweak to rotary, for consistency
2021-08-18 12:19:10 +01:00
ZodiusInfuser
fa4cf86126
Updated rainbow example to be consistant across languages
2021-08-18 12:18:25 +01:00
ZodiusInfuser
fa17f2e77e
Added analog class for plasma current reading
2021-08-18 12:16:51 +01:00
ZodiusInfuser
84acf406a2
Added Dat and Clk defines
2021-08-18 11:59:22 +01:00
ZodiusInfuser
49b944a40a
Added user button to rainbow example
2021-08-18 10:54:31 +01:00
ZodiusInfuser
71e95805fa
Linting fixes
2021-08-17 13:43:42 +01:00
ZodiusInfuser
e045cb9615
Updated plasma mp examples to use user_sw and current sensing
2021-08-17 13:25:46 +01:00
ZodiusInfuser
5a911ad46e
Fix for "Changed rgb to use full pwm range"
2021-08-17 13:07:34 +01:00
ZodiusInfuser
78952ff070
Changed rgb to use full pwm range
2021-08-17 12:59:36 +01:00
ZodiusInfuser
6672e9d683
Added pins for user sw and current sense
2021-08-17 12:48:45 +01:00
Philip Howard
852fdcaa45
Merge pull request #181 from pimoroni/plasma2040
...
Plasma 2040 library & examples
2021-08-17 10:07:19 +01:00
Phil Howard
eb91f04129
Add general purpose Analog wrapper for isense
...
Add ADC_GAIN and SHUNT_RESISTOR values to plasma for configuring Analog current sense.
2021-08-12 15:47:59 +01:00
Philip Howard
b50aae883a
Merge pull request #190 from pimoroni/patch-docs-submodule
...
Add submodule init to instructions for #189
2021-08-04 11:10:17 +01:00
Phil Howard
0f7c9a1053
Add submodule init to instructions for #189
2021-08-04 10:30:33 +01:00
Phil Howard
6ce80cd289
Plasma WS2812: Add RGBW and color-order support
2021-08-02 14:37:07 +01:00
Phil Howard
693e84c73d
Allow uP allocated buffer for Plasma LEDs
2021-08-02 14:37:07 +01:00
Phil Howard
59d3c91f1b
Demo and document RGBLED and Button
...
Add constants to `plasma` module for Plasma 2040 pins.
2021-08-02 14:37:07 +01:00
Phil Howard
596fb55a57
Add "plasma" MicroPython module
...
Includes "WS2812" and "APA102" modules, wrapping the libraries.
Uses a destructor to clean up the LED strip and resources when MicroPython is stopped/restarted.
2021-08-02 14:37:06 +01:00
Phil Howard
815e784625
Plasma 2040 library & examples
...
Library:
Includes classes for driving WS2812 and APA102 LEDs and defines for Plasma features.
Encoder Example:
Supports connecting a Rotary Encoder via the Qw'St connector.
Works with APA102 or WS281X pixels.
Pressing A will cycle between:
1. Colour change
2. Brightness change
3. Cycle delay
Pressing B will switch back into auto-cycle mode.
Turning the encoder at any time will switch out of auto cycle mode into parameter adjust mode.
Also includes a bugfix to Rotary Encoder for getting the interrupt correctly.
Rainbow Example:
Basic rainbow cycle, press B to speed up and A to slow down.
2021-08-02 14:36:01 +01:00
Philip Howard
bcde0b6784
Merge pull request #152 from pimoroni/driver/bme280
...
Driver for BME280 and BMP280
2021-08-02 14:32:57 +01:00
Phil Howard
218d8ea929
Add documentation and features to BMx280 modules
2021-08-02 14:21:00 +01:00
Phil Howard
be9b1437db
Add MicroPython bindings for BME280 and BMP280
2021-08-02 14:20:59 +01:00
Phil Howard
f0eff195fe
C++ SDK Support for BME280 and BMP280
2021-08-02 14:20:40 +01:00
Philip Howard
c832bf27be
Merge pull request #143 from pimoroni/driver/bme68x
...
Driver for BME688 and BME680 sensors
2021-08-02 14:17:23 +01:00
Phil Howard
746e21c542
BME68X Add Time/Temp config to Gas, document
2021-08-02 14:12:46 +01:00
Phil Howard
618fd559f9
BME68X Python example, docs and configure
2021-08-02 14:12:46 +01:00
Phil Howard
c402d92e0f
Basic MicroPython bindings for BME68X
...
The BME68X library is *linked* against the MicroPython bindings, rather than compiled directly in.
This saves specifing the list of target files twice.
2021-08-02 14:12:46 +01:00
Phil Howard
22d39faf5f
Bringup BME688 and BME680 sensors
...
This changeset brings the BOSCH BME68X Sensor API library in as a submodule and makes it buildable with CMake.
A thin wrapper- the BME68X driver- provides simple init, configure, read_forced and read_parallel functions.
Two BME688 examples are available for forced-mode and parallel-mode operation.
2021-08-02 14:11:56 +01:00