bool32.rising clear
bool32.rising clearAll
int32 row
None
objref LED
bool trig;
bool dorow;
bool trigall;
bool doall;
uint8_t count;
if (inlet_clear && (!trig && !count)) {
trig = 1;
dorow = 1;
}
if (dorow && !attr_LED.ROW) {
dorow = 0;
memset(attr_LED.array + 8, 32, 68);
attr_LED.ROW = inlet_row + 1;
}
if (!inlet_clear && !dorow)
trig = 0;
if (inlet_clearAll && !trigall) {
trigall = 1;
count = 4;
}
if (count && !attr_LED.ROW) {
memset(attr_LED.array + 8, 32, 68);
attr_LED.ROW = count;
count--;
}
if (!inlet_clearAll && !count)
trigall = 0;