beep
This commit is contained in:
parent
3f9aaf5c71
commit
e8fda6cb6f
|
@ -454,7 +454,11 @@ namespace ratgdo {
|
||||||
{
|
{
|
||||||
transmit(Command.DOOR_BEEP1);
|
transmit(Command.DOOR_BEEP1);
|
||||||
delay(40);
|
delay(40);
|
||||||
sendCommandAndSaveCounter(Command.DOOR_BEEP2);
|
transmit(Command.DOOR_BEEP1);
|
||||||
|
delay(40);
|
||||||
|
transmit(Command.DOOR_BEEP2);
|
||||||
|
delay(40);
|
||||||
|
sendCommandAndSaveCounter(Command.DOOR_BEEP3);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lock functions
|
// Lock functions
|
||||||
|
|
|
@ -55,6 +55,7 @@ namespace ratgdo {
|
||||||
cmd LOCK;
|
cmd LOCK;
|
||||||
cmd DOOR_BEEP1;
|
cmd DOOR_BEEP1;
|
||||||
cmd DOOR_BEEP2;
|
cmd DOOR_BEEP2;
|
||||||
|
cmd DOOR_BEEP3;
|
||||||
} cmds;
|
} cmds;
|
||||||
|
|
||||||
const cmds Command = {
|
const cmds Command = {
|
||||||
|
@ -68,8 +69,15 @@ namespace ratgdo {
|
||||||
.DOOR2 = (cmd) { 0x200000000, 0x01009280 },
|
.DOOR2 = (cmd) { 0x200000000, 0x01009280 },
|
||||||
.LIGHT = (cmd) { 0x200000000, 0x00009281 },
|
.LIGHT = (cmd) { 0x200000000, 0x00009281 },
|
||||||
.LOCK = (cmd) { 0x0100000000, 0x0000728c },
|
.LOCK = (cmd) { 0x0100000000, 0x0000728c },
|
||||||
.DOOR_BEEP1 = (cmd) { 0, 0x000b11a1 },
|
.DEEP_BEEP1 = (cmd) { 0x400000000, 0x0000f10a },
|
||||||
.DOOR_BEEP2 = (cmd) { 0, 0x000c61a1 },
|
.DOOR_BEEP2 = (cmd) { 0, 0x000b11a1 },
|
||||||
|
.DOOR_BEEP3 = (cmd) { 0, 0x000c61a1 },
|
||||||
|
// At auto close
|
||||||
|
// [18:09:45][V][ratgdo:098]: command: cmd=040a nibble=01 byte1=00 byte2=00 fixed=c4a3d2c00a data=0000f10a Timer == 0
|
||||||
|
// [18:09:45][V][ratgdo:098]: command: cmd=040a nibble=01 byte1=00 byte2=00 fixed=c4a3d2c00a data=0000f10a Timer == 0
|
||||||
|
// [18:09:45][V][ratgdo:098]: command: cmd=00a1 nibble=01 byte1=0b byte2=00 fixed=c0a3d2c00a data=000b11a1 close1?
|
||||||
|
// [18:09:53][V][ratgdo:098]: command: cmd=00a1 nibble=01 byte1=0c byte2=00 fixed=c0a3d2c00a data=000c61a1 close2?
|
||||||
|
// [18:09:54][V][ratgdo:098]: command: cmd=0081 nibble=05 byte1=60 byte2=42 fixed=c0a3d2c00a data=4260c581 status
|
||||||
// command: cmd=040a nibble=01 byte1=01 byte2=e0 fixed=c4a3d2c00a data=e001010a
|
// command: cmd=040a nibble=01 byte1=01 byte2=e0 fixed=c4a3d2c00a data=e001010a
|
||||||
// time = (byte1 << 8) | byte2;
|
// time = (byte1 << 8) | byte2;
|
||||||
// .AUTO_CLOSE = (cmd) { 0x0400000000, 0x0000010a },
|
// .AUTO_CLOSE = (cmd) { 0x0400000000, 0x0000010a },
|
||||||
|
|
Loading…
Reference in New Issue