Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The override functions are for the interior button panel so that you can lock and unlock the door from the secure side (e.g.: the inside of a vault).
There's a video attached above that shows the buttons on the other side of a door frame being used.
Also, there's a MK2 version , which might have better instructions, or better node descriptions.
Instead of a reset button, there is a backspace button. When the controller is in its unlock state, the keypad disappears and a "lock" button appears.
The dimensions and nodes are identical, however making it possible to quickly swap out a MK1 with a MK2 without any rewiring.
Pretty sure I used my Single Hinged Door Microcontroller to control the door.
The default code is 0-0-0-0 if I remember correctly. Check the microcontroller's configuration after placing a new one.
I'll look into that though...... at some point.
To shorten the code, could you not have stored the access code and current input as two strings or integers. After each keypress, you could append to the current input by *10 and adding the pressed key, or using the ".." operator if you are using strings. You can also use the "#" operator before a string variable to return the length of the string.
When you press the enter key, you simply compare the two variables rather than comparing eight. This would mean that the access code can be as many or few digits as you want.
Your code is very good and I am not trying to criticise it in any way: I'm just trying to help.
Can I have steps to reproduce the bugs? Like what the PIN code is set to, and what buttons you are pressing when the error/bug occurs?
Scenario A: You enter all four digits and press the green button.
Scenario B: You press the override button on the instrument panel.
If the display flashes red, then you have entered an invalid code. If it flashes green, then you've entered the correct code and the door should open (assuming the door is connected correctly).
where is the or gate