X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fusbrelay-v0.1%2Fao_pins.h;h=a72f6cc863fcd37b64fd56fac8759822e0914992;hp=ed60486d16077a2789479da7e7bf36b308d9f20c;hb=cbb6f7a3abbde39163f2905badba0ae88744b104;hpb=acaad70e3db8f0b6ae45ca8309833db57bdf5ca2 diff --git a/src/usbrelay-v0.1/ao_pins.h b/src/usbrelay-v0.1/ao_pins.h index ed60486d..a72f6cc8 100644 --- a/src/usbrelay-v0.1/ao_pins.h +++ b/src/usbrelay-v0.1/ao_pins.h @@ -1,5 +1,5 @@ /* - * Copyright © 2015 Bdale Garbee + * Copyright © 2014 Bdale Garbee * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -66,6 +66,12 @@ #define LEDS_AVAILABLE (AO_LED_RED|AO_LED_GREEN) +/* RELAY */ + +#define RELAY_PORT 0 +#define RELAY_PIN 3 +#define RELAY_BIT (1 << RELAY_PIN) + /* Kludge the SPI driver to not configure any * pin for SCK or MOSI */