Print debug data to serial, disabled for release.
Edit this file to re-enable these for debugging purposes.
Serial.print(
"len: "); Serial.print(
len); Serial.print(
", dir:"); Serial.print((
int)
dir);
Serial.print(
", range:"); Serial.print((uint32_t)
leds); Serial.print(
"-"); Serial.print((uint32_t)
end_pos);
Serial.print(
", diff:"); Serial.print((int32_t)(
end_pos -
leds));
Serial.println("");
PIXEL_TYPE *const leds
pointer to the LED data
const int8_t dir
direction of the LED data, either 1 or -1. Determines how the pointer is incremented.
PIXEL_TYPE *const end_pos
pointer to the end position of the LED data
const int len
length of the LED data, in PIXEL_TYPE units.