Command SETUP(KEYIO)
 
Description Setup the protocol for the Key io either for external keyboard or inputs and outputs
 
Syntax/Parameters setup(keyio){...}
 
Options    active=\\000000FF;                 //high is active “\\00000000” >“\\7FFFFFFF”, default is inactive
   inp=\\0000000C;                    //high is input, low is output “\\00000000” >“\\7FFFFFFF”
   trig=\\00000001;                    //high is trigger interrupt “\\00000000” >“\\7FFFFFFF” as defined by edge. 1=trigger .
   edge=\\00000000;                  //high is rising edge, low is falling edge “\\00000000” >“\\7FFFFFFF”
   keyb=\\00000FF0;                  //high is scanned keyboard connection “\\00000000”>"\\7FFFFFFF”
   pullup=\\7FFFFFFF;                 //introduced in v49.06 to allow input pull up resistors to be set ON=1 and OFF = 0
 
Example setup(keyio)
{
active=\\000000FF;                 //high is active “\\00000000” >“\\7FFFFFFF”, default is inactive
inp=\\0000000C;                    //high is input, low is output “\\00000000” >“\\7FFFFFFF”
trig=\\00000001;                    //high is trigger interrupt “\\00000000” >“\\7FFFFFFF” as defined by edge. 1=trigger .
edge=\\00000000;                  //high is rising edge, low is falling edge “\\00000000” >“\\7FFFFFFF”
keyb=\\00000FF0;                  //high is scanned keyboard connection “\\00000000”>"\\7FFFFFFF”
pullup=\\7FFFFFFF;                 //introduced in v49.06 to allow input pull up resistors to be set ON=1 and OFF = 0
}