controller-legacy/drivers/gpio.c

12 lines
183 B
C
Raw Normal View History

2020-04-13 22:50:55 +00:00
#include <wiringPi.h>
#include <piFace.h>
#include <wiring_debug.h>
#include <drivers.h>
void
driver_gpio_set(relay_t *relay, int value)
{
digitalWrite(relay->number, value);
}