14 lines
293 B
C
14 lines
293 B
C
#include <wiringPi.h>
|
|
#include <piFace.h>
|
|
#include <wiring_debug.h>
|
|
|
|
#include <drivers.h>
|
|
|
|
void
|
|
driver_gpio_set(relay_t *relay, int value)
|
|
{
|
|
// disable "unused parameter" warning (happens when using wiring_debug)
|
|
(void)relay;
|
|
(void)value;
|
|
digitalWrite(relay->number, value);
|
|
}
|