I just started using OpenComputers+Security and don't really know what I'm doing. I'm trying to make a security door that opens when activated by a keypad. It's using a Door Controller, and a Keypad. The only code I have is stuff I stole from the wiki. The code is working for the keypad, but I don't know how to make the keypad activate the Door Controller. Here is the keypad code I have:
keypad = require("component").os_keypad
event = require("event")
local pin = "1234"
local keypadInput = ""
-- set this to true if you want to run the script as daemon
local runScriptInBackground = false