projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
relay control implemented, this project is now complete
[fw/altos]
/
src
/
usbrelay-v0.1
/
ao_pins.h
diff --git
a/src/usbrelay-v0.1/ao_pins.h
b/src/usbrelay-v0.1/ao_pins.h
index ed60486d16077a2789479da7e7bf36b308d9f20c..e760c21b70ca807d918188a3202d07190057c39e 100644
(file)
--- a/
src/usbrelay-v0.1/ao_pins.h
+++ b/
src/usbrelay-v0.1/ao_pins.h
@@
-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
*/