12 lines
183 B
C
12 lines
183 B
C
|
#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);
|
||
|
}
|