WLED/wled00/wasmfx.cpp
2021-07-12 22:08:22 +02:00

17 lines
307 B
C++

#include "wled.h"
uint32_t WASMFX::now() {
return strip.now;
}
uint32_t WASMFX::speed() {
return strip._segments[strip._segment_index].speed;
}
uint32_t WASMFX::intensity() {
return strip._segments[strip._segment_index].intensity;
}
uint32_t WASMFX::len() {
return strip._virtualSegmentLength;
}