From 16e945fb49028a6e9b7f8ecd5f029735a2421d5c Mon Sep 17 00:00:00 2001 From: Jefta Date: Sun, 25 Feb 2024 18:01:57 +0100 Subject: [PATCH] fix: add missing call to ledstrip.begin() (#19) --- library.properties | 2 +- src/ledstrip.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 7ec9448..07fa3ab 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Leaphy Extra Extension -version=0.0.21 +version=0.0.22 author=Leaphy Robotics maintainer=Leaphy Robotics sentence=Provides Extra functionality to Leaphy robots diff --git a/src/ledstrip.cpp b/src/ledstrip.cpp index 91f6f50..ea07ce0 100644 --- a/src/ledstrip.cpp +++ b/src/ledstrip.cpp @@ -1,6 +1,7 @@ #include "ledstrip.h" LEDSTRIP::LEDSTRIP(uint8_t p, uint16_t tot){ + strip.begin(); strip.setPin(p); strip.updateLength(tot); pinMode(pin, OUTPUT);