core-legacy/drivers/gpio.c

15 lines
274 B
C
Raw Normal View History

2020-05-05 09:42:02 +00:00
#include <wiringPi.h>
#include <piFace.h>
#include <wiring_debug.h>
#include <drivers.h>
void
driver_gpio_set(int pin, int value)
{
// disable "unused parameter" warning (happens when using wiring_debug)
(void)pin;
(void)value;
digitalWrite(pin, value);
}