mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-05-04 07:10:16 +00:00
cmd
This commit is contained in:
parent
3f29b8f596
commit
6c8ff18de0
@ -18,7 +18,7 @@
|
|||||||
#define INFO "IR_FOX TEST"
|
#define INFO "IR_FOX TEST"
|
||||||
#define SERIAL_SPEED 115200
|
#define SERIAL_SPEED 115200
|
||||||
|
|
||||||
constexpr uint8_t cmd_oar_car = CarCmd::stop; // <<<<<<<<< CMD FOR CAR
|
constexpr uint8_t cmd_for_car = CarCmd::stop_Tmp_H_S; // <<<<<<<<< CMD FOR CAR
|
||||||
|
|
||||||
//////////////// Var /////////////////
|
//////////////// Var /////////////////
|
||||||
|
|
||||||
@ -237,7 +237,7 @@ void loop() {
|
|||||||
|
|
||||||
if(responsponse_f && millis() - responsponse_tim > 100) {
|
if(responsponse_f && millis() - responsponse_tim > 100) {
|
||||||
responsponse_f=false;
|
responsponse_f=false;
|
||||||
encForward.sendData(IR_Broadcast, cmd_oar_car);
|
encForward.sendData(IR_Broadcast, cmd_for_car);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user