Skip to content

Commit

Permalink
working thru Doxygen and Git
Browse files Browse the repository at this point in the history
  • Loading branch information
MauiJerry committed Oct 7, 2018
1 parent 4d99207 commit a126df5
Show file tree
Hide file tree
Showing 3 changed files with 2,490 additions and 2 deletions.
6 changes: 6 additions & 0 deletions NeoStrip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,9 @@ uint8_t NeoStrip::getMaxIntensityUsed()
return max;
}

boolean NeoStrip::hasWhiteLED()
{
if (rOffset != wOffset)
return true;
return false;
}
4 changes: 2 additions & 2 deletions NeoStrip.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class NeoStrip: public Adafruit_NeoPixel {
public:

NeoStrip(uint16_t n, uint8_t p=6, uint8_t t=NEO_GRB + NEO_KHZ800);

int getId() {return myId;} /*!< returns autogen'd id of this strip */
void setStripChanged(); /*!< marks the strip as Changed */
void clearStripChanged(); /*!< clears changed flag; strip shown only if changed */
boolean getStripChanged(); /*!< access internal flag */
Expand All @@ -45,7 +45,7 @@ class NeoStrip: public Adafruit_NeoPixel {
void show(void); /*!< if strip changed, invoke parent show, and clear stripChanged */

uint8_t getMaxIntensityUsed(); /*!< returns maximum value across all rgb pixels */

boolean hasWhiteLED(); /*!< true if strip is rgb+w (4 leds) */
//////
/**
* Active Pixel booleans can be used by NeoWindows to determine if a particular pixel
Expand Down
Loading

0 comments on commit a126df5

Please sign in to comment.