#include <strip.hpp>
|
| strip (std::pair< rmt_item32_t, rmt_item32_t > zero_one, std::size_t size=0, float gamma=default_gamma) |
|
| strip (rmt_manager const &manager, controller chip, std::size_t size=0, bool inverted=false, float gamma=default_gamma) |
|
esp_err_t | update (std::vector< rgb > const &colors, rmt_channel_t channel, bool wait_tx_done) override |
|
esp_err_t | update (rgb color, rmt_channel_t channel, bool wait_tx_done) override |
|
esp_err_t | transmit (rmt_channel_t channel, bool wait_tx_done) const |
|
rmt_item32_t | zero () const |
|
rmt_item32_t | one () const |
|
std::size_t | size () const override |
|
bool | empty () const |
|
float | gamma () const |
|
gamma_table const * | get_gamma_table () const |
|
void | set_gamma (float gamma) |
|
void | clear () |
|
void | resize (std::size_t new_size) |
|
void | resize (std::size_t new_size, Led led) |
|
ref< Led > | operator[] (std::size_t i) |
|
cref< Led > | operator[] (std::size_t i) const |
|
const_iterator | begin () const |
|
const_iterator | cbegin () const |
|
const_iterator | end () const |
|
const_iterator | cend () const |
|
iterator | begin () |
|
iterator | end () |
|
virtual esp_err_t | update (std::vector< rgb > const &colors, rmt_channel_t channel, bool wait_tx_done)=0 |
|
virtual esp_err_t | update (rgb color, rmt_channel_t channel, bool wait_tx_done)=0 |
|
virtual std::size_t | size () const =0 |
|
virtual | ~transmittable_rgb_strip ()=default |
|
|
static constexpr float | default_gamma = 2.8f |
|
static constexpr float | no_gamma = std::numeric_limits<float>::quiet_NaN() |
|
◆ strip() [1/2]
template<class Led >
neo::strip< Led >::strip |
( |
std::pair< rmt_item32_t, rmt_item32_t > |
zero_one, |
|
|
std::size_t |
size = 0 , |
|
|
float |
gamma = default_gamma |
|
) |
| |
|
explicit |
◆ strip() [2/2]
◆ begin() [1/2]
◆ begin() [2/2]
◆ cbegin()
◆ cend()
◆ clear()
◆ empty()
◆ end() [1/2]
◆ end() [2/2]
◆ gamma()
◆ get_gamma_table()
◆ one()
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ resize() [1/2]
template<class Led >
void neo::strip< Led >::resize |
( |
std::size_t |
new_size | ) |
|
|
inline |
◆ resize() [2/2]
template<class Led >
void neo::strip< Led >::resize |
( |
std::size_t |
new_size, |
|
|
Led |
led |
|
) |
| |
◆ set_gamma()
◆ size()
◆ transmit()
template<class Led >
esp_err_t neo::strip< Led >::transmit |
( |
rmt_channel_t |
channel, |
|
|
bool |
wait_tx_done |
|
) |
| const |
◆ update() [1/2]
template<class Led >
esp_err_t neo::strip< Led >::update |
( |
rgb |
color, |
|
|
rmt_channel_t |
channel, |
|
|
bool |
wait_tx_done |
|
) |
| |
|
overridevirtual |
◆ update() [2/2]
template<class Led >
esp_err_t neo::strip< Led >::update |
( |
std::vector< rgb > const & |
colors, |
|
|
rmt_channel_t |
channel, |
|
|
bool |
wait_tx_done |
|
) |
| |
|
overridevirtual |
◆ zero()
◆ _gamma
◆ _gamma_table
◆ _one
◆ _pixels
◆ _rmt_buffer
template<class Led >
std::vector<rmt_item32_t> neo::strip< Led >::_rmt_buffer |
|
private |
◆ _zero
◆ default_gamma
template<class Led >
constexpr float neo::strip< Led >::default_gamma = 2.8f |
|
staticconstexpr |
◆ no_gamma
template<class Led >
constexpr float neo::strip< Led >::no_gamma = std::numeric_limits<float>::quiet_NaN() |
|
staticconstexpr |
The documentation for this class was generated from the following file: