Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
lampda::platform::strip::LampdaStrip< LedCount, ChannelCount > Class Template Reference

This class is a lightweight port of the Adafruit_Neopixel library, with compile time buffers to have a better memory handling. More...

#include <strip_impl.h>

Inheritance diagram for lampda::platform::strip::LampdaStrip< LedCount, ChannelCount >:
lampda::physical::LedStrip

Public Member Functions

 LampdaStrip (int16_t p, neoPixelType type=NEO_RGB+NEO_KHZ800)
 
bool begin (void)
 
void show (void)
 
void setPixelColor (uint16_t n, uint32_t c)
 
uint32_t getPixelColor (uint16_t n) const
 
bool canShow (void)
 

Static Public Attributes

static constexpr size_t numLEDs = LedCount
 
static constexpr uint8_t channelCount = ChannelCount
 

Protected Member Functions

void updateType (neoPixelType t)
 
void setPin (int16_t p)
 

Detailed Description

template<size_t LedCount, uint8_t ChannelCount>
class lampda::platform::strip::LampdaStrip< LedCount, ChannelCount >

This class is a lightweight port of the Adafruit_Neopixel library, with compile time buffers to have a better memory handling.

Member Function Documentation

◆ show()

template<size_t LedCount, uint8_t ChannelCount>
void lampda::platform::strip::LampdaStrip< LedCount, ChannelCount >::show ( void  )

THIS SHOULD NEVER HAPPEN.

Cannot implement here, simulator handles this


The documentation for this class was generated from the following files: