mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
NeoPixels
This commit is contained in:
parent
c59fa4d39c
commit
8fc0e5d9ae
2 changed files with 3 additions and 2 deletions
|
|
@ -90,8 +90,6 @@ const PowerCalibration calibration[] = {
|
|||
{ 30, 10, 110 } // 1000mW
|
||||
};
|
||||
|
||||
inline Adafruit_NeoPixel pixels(NEOPIXEL_NUM, PIN_NEOPIXEL, NEO_GRB + NEO_KHZ800);
|
||||
|
||||
const int NUM_CAL_POINTS = sizeof(calibration) / sizeof(calibration[0]);
|
||||
|
||||
class BanditBoard : public ESP32Board {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
#include <Arduino.h>
|
||||
#include <helpers/ui/UIScreen.h>
|
||||
#include <Adafruit_NeoPixel.h>
|
||||
|
||||
Adafruit_NeoPixel pixels(NEOPIXEL_NUM, PIN_NEOPIXEL, NEO_GRB + NEO_KHZ800);
|
||||
|
||||
BanditBoard board;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue