Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
fix: add missing call to ledstrip.begin() (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeftadeGraaf authored Feb 25, 2024
1 parent f80c2f4 commit 16e945f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Leaphy Extra Extension
version=0.0.21
version=0.0.22
author=Leaphy Robotics
maintainer=Leaphy Robotics <[email protected]>
sentence=Provides Extra functionality to Leaphy robots
Expand Down
1 change: 1 addition & 0 deletions src/ledstrip.cpp
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 16e945f

Please sign in to comment.