indicator

This commit is contained in:
2024-09-27 17:28:15 +03:00
parent d088948a1d
commit e4cc2cecf5
6 changed files with 265 additions and 74 deletions

View File

@ -52,24 +52,27 @@ uint8_t speedDown = 100;
void IR_Home_Process() {
InputHandler = IR_Home_Process;
SetShiftReg_inline(0xff, 0, 0);
// SetShiftReg_inline(0xff, 0, 0);
switch (data.command) {
case IR_FONT_RIGHT:
case IR_SHOT:
paramEnter(onSelectShot);
break;
// case IR_PROG:
//// paramEnter(onSelectShot);
// break;
//
// case IR_FRONT_MID:
// SetShiftReg_inline(0, 0, 0);
// b1 = b2 = b3 = 0;
// break;
case IR_PROG: {
SetShiftReg_inline(0, 7, 0);
b1 = b2 = b3 = 0;
break;
}
case IR_FONT_RIGHT:
SetShiftReg_inline(b1, b2, ++b3);
break;
case IR_FRONT_MID:
SetShiftReg_inline(b1, ++b2, b3);
break;
case IR_FRONT_LEFT:
SetShiftReg_inline(++b1, ++b2, ++b3);
onHoldRepeat = IR_Home_Process;
SetShiftReg_inline(++b1, b2, b3);
// onHoldRepeat = IR_Home_Process;
break;
case IR_F_BTN: {