kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Linting fixes
rodzic
e045cb9615
commit
71e95805fa
|
|
@ -10,7 +10,7 @@ UPDATES = 60
|
||||||
# WS2812 / NeoPixel™ LEDs
|
# WS2812 / NeoPixel™ LEDs
|
||||||
led_strip = plasma.WS2812(NUM_LEDS, 0, 0, 15)
|
led_strip = plasma.WS2812(NUM_LEDS, 0, 0, 15)
|
||||||
# APA102 / DotStar™ LEDs
|
# APA102 / DotStar™ LEDs
|
||||||
#led_strip = plasma.APA102(NUM_LEDS, 0, 0, 15, 14)
|
# led_strip = plasma.APA102(NUM_LEDS, 0, 0, 15, 14)
|
||||||
|
|
||||||
# Set up the ADC for reading current
|
# Set up the ADC for reading current
|
||||||
sense = Analog(plasma.PIN_CURRENT_SENSE, plasma.ADC_GAIN, plasma.SHUNT_RESISTOR)
|
sense = Analog(plasma.PIN_CURRENT_SENSE, plasma.ADC_GAIN, plasma.SHUNT_RESISTOR)
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue