Skip to content

Commit

Permalink
pins from int to uint8_t
Browse files Browse the repository at this point in the history
  • Loading branch information
elral committed Oct 22, 2023
1 parent d8b2c7b commit 307294a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MF_Segment/MFSegments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void MFSegments::setBrightness(uint8_t module, uint8_t value)
}
}

void MFSegments::attach(uint8_t type, int dataPin, int csPin, int clkPin, uint8_t moduleCount, uint8_t brightness)
void MFSegments::attach(uint8_t type, uint8_t dataPin, uint8_t csPin, uint8_t clkPin, uint8_t moduleCount, uint8_t brightness)
{
_ledControl.begin(type, dataPin, clkPin, csPin, moduleCount);
_moduleCount = moduleCount;
Expand Down
2 changes: 1 addition & 1 deletion src/MF_Segment/MFSegments.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class MFSegments
public:
MFSegments();
void display(uint8_t module, char *string, uint8_t points, uint8_t mask, bool convertPoints = false);
void attach(uint8_t type, int dataPin, int csPin, int clkPin, uint8_t moduleCount, uint8_t brightness);
void attach(uint8_t type, uint8_t dataPin, uint8_t csPin, uint8_t clkPin, uint8_t moduleCount, uint8_t brightness);
void detach();
void test();
void powerSavingMode(bool state);
Expand Down

0 comments on commit 307294a

Please sign in to comment.