2021-07-12 16:33:43 +02:00
|
|
|
#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;
|
2021-07-12 22:08:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
uint32_t WASMFX::len() {
|
|
|
|
return strip._virtualSegmentLength;
|
2021-07-12 16:33:43 +02:00
|
|
|
}
|