diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-06-17 12:09:57 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-06-17 12:09:57 +0200 |
commit | 5cf305a2532f7a501ef3a63f83c1921282e06812 (patch) | |
tree | 104d1ec863796cf26842c7b0413ce10d2d5837e1 /io_declarations.h | |
parent | 6e4be1c4803bdf42ee1243d7cb3e8b7f56bdc405 (diff) | |
download | ecl_maison-5cf305a2532f7a501ef3a63f83c1921282e06812.tar.gz ecl_maison-5cf305a2532f7a501ef3a63f83c1921282e06812.tar.bz2 ecl_maison-5cf305a2532f7a501ef3a63f83c1921282e06812.zip |
Diffstat (limited to 'io_declarations.h')
-rw-r--r-- | io_declarations.h | 34 |
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", +}; + |