battlecore::input
The input module creates digital inputs bound to GPIO pins on the device. Include its declarations with include "./battlecore/input.bst";.
createDigital
Creates a named digital input on the given GPIO pin. Returns an integer identifier for the created input.
native int battlecore::input.createDigital (string name, int gpioPin);