controller-legacy/drivers/piface.c

12 lines
211 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_piface_set(relay_t *relay, int value)
{
digitalWrite(DRIVER_PIFACE_GPIO_BASE + relay->number, value);
}