SgneepBox
Write GPIO in BCM mode
gpio_out *pin *on|off
Example:
Make GPIO PIN object :
gpio_object *ID *type *pin none *pull
*ID = objectID
*type = in
*pin = BCM pin number (1-40)
*pull = pull_up | pull_down
Read GPIO object:
gpio_check *ID *type *condition *value CALL *fnc ELSE *fnc
*id = id_name
*type = in | out
*condition = equal | great | less
*fnc = call to your subfunction script
Close the GPIO object
gpio_close *ID