Comparing the newly updated version with the one from a year ago, I have one question.
When the fire, auxiliary and panic keys are pressed using the keypad, the previous code and the current code are different.
However, when I actually tested using the keypad, the previous code came out correctly.
I want to know if the new code is wrong or if there is some other reason.
Hello,
Comparing the newly updated version with the one from a year ago, I have one question.
When the fire, auxiliary and panic keys are pressed using the keypad, the previous code and the current code are different. However, when I actually tested using the keypad, the previous code came out correctly. I want to know if the new code is wrong or if there is some other reason.
Previous Code) void dscKeybusInterface::printModuleMessage() { switch (moduleData[0]) { case 0x77: printModule_0x77(); return; // Keypad fire alarm | Structure: complete | Content: complete case 0xBB: printModule_0xBB(); return; // Keypad auxiliary alarm | Structure: complete | Content: complete case 0xDD: printModule_0xDD(); return; // Keypad panic alarm | Structure: complete | Content: complete
Current Code) switch (moduleData[0]) { case 0xBB: printModule_0xBB(); return; // Keypad fire alarm | Structure: complete | Content: complete case 0xDD: printModule_0xDD(); return; // Keypad auxiliary alarm | Structure: complete | Content: complete case 0xEE: printModule_0xEE(); return; // Keypad panic alarm | Structure: complete | Content: complete }
Thanks