summaryrefslogtreecommitdiff
path: root/io_declarations.h
diff options
context:
space:
mode:
Diffstat (limited to 'io_declarations.h')
-rw-r--r--io_declarations.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/io_declarations.h b/io_declarations.h
new file mode 100644
index 0000000..ea7ef74
--- /dev/null
+++ b/io_declarations.h
@@ -0,0 +1,34 @@
+
+// ========================================
+// == INTERRUPTEURS =======================
+// ========================================
+typedef enum {
+ bt_test_arduino, bt_ext_cote_rue,
+
+ NUM_ENTREES
+} entree_t;
+
+static uint8_t pin_entrees[NUM_ENTREES] = {
+ 0, 4,
+};
+
+
+// ========================================
+// == LIGNES ==============================
+// ========================================
+
+typedef enum {
+ led_arduino, rl_ecl_ext_jardin,
+
+ NUM_SORTIES
+} sortie_t;
+
+
+static uint8_t pin_sorties[NUM_SORTIES] = {
+ 13, 41,
+};
+
+static char desc_sorties[NUM_SORTIES][16] = {
+ "LED Arduino", "Jardin",
+};
+