Home
last modified time | relevance | path

Searched refs:iopin (Results 1 – 3 of 3) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/examples/
Dblink-io.c36 static int iopin; variable
42 printf("closing IO%d nicely\n", iopin); in sig_handler()
51 iopin = DEFAULT_IOPIN; in main()
56 iopin = strtol(argv[1], NULL, 10); in main()
60 fprintf(stdout, "MRAA Version: %s\nStarting Blinking on IO%d\n", mraa_get_version(), iopin); in main()
63 gpio = mraa_gpio_init(iopin); in main()
65 fprintf(stderr, "Are you sure that pin%d you requested is valid on your platform?", iopin); in main()
68 printf("Initialised pin%d\n", iopin); in main()
/hardware/bsp/intel/peripheral/libmraa/examples/c++/
DBlink-IO.cpp35 static int iopin; variable
42 printf("closing IO%d nicely\n", iopin); in sig_handler()
51 iopin = DEFAULT_IOPIN; in main()
53 iopin = strtol(argv[1], NULL, 10); in main()
59 mraa::Gpio* gpio = new mraa::Gpio(iopin); in main()
/hardware/bsp/intel/peripheral/libmraa/examples/java/
DBlinkIO.java49 int iopin = DEFAULT_IOPIN; in main() local
53 iopin = Integer.valueOf(argv[0], DEFAULT_IOPIN); in main()
57 Gpio gpio = new Gpio(iopin); in main()