Home
last modified time | relevance | path

Searched refs:gpio_in (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/examples/
Dblink_onboard.c35 mraa_gpio_context gpio, gpio_in = NULL; in main() local
63 gpio_in = mraa_gpio_init(14); in main()
64 if (gpio_in != NULL) { in main()
65 mraa_gpio_dir(gpio_in, MRAA_GPIO_IN); in main()
74 if (gpio_in != NULL && mraa_gpio_read(gpio_in) == 0) { in main()
/hardware/bsp/intel/peripheral/libmraa/examples/java/
DBlinkOnboard.java45 Gpio gpio, gpio_in; in main() local
59 gpio_in = new Gpio(14); in main()
60 gpio_in.dir(Dir.DIR_IN); in main()
63 gpio_in = null; in main()
68 if (gpio_in != null && gpio_in.read() == 0) { in main()