From b39a44b59839b7636b603cf2bd9559a218923599 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 18 Mar 2013 01:02:05 +0100 Subject: digital/io-hub, eurobot/2013: add cherry plate contacts --- digital/io-hub/src/apbirthday/hardware.hh | 3 ++- digital/io-hub/src/apbirthday/hardware.host.cc | 2 ++ digital/io-hub/src/apbirthday/hardware.stm32.cc | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'digital/io-hub/src') diff --git a/digital/io-hub/src/apbirthday/hardware.hh b/digital/io-hub/src/apbirthday/hardware.hh index ae60afaa..148d0727 100644 --- a/digital/io-hub/src/apbirthday/hardware.hh +++ b/digital/io-hub/src/apbirthday/hardware.hh @@ -64,7 +64,8 @@ struct Hardware ihm_lol, ihm_emerg_stop; ucoo::Gpio - glass_contact; + glass_contact, + cherry_plate_left_contact, cherry_plate_right_contact; ucoo::Gpio cherry_bad_out, cherry_bad_in, cherry_plate_up, cherry_plate_down, diff --git a/digital/io-hub/src/apbirthday/hardware.host.cc b/digital/io-hub/src/apbirthday/hardware.host.cc index 3eee4294..a4210480 100644 --- a/digital/io-hub/src/apbirthday/hardware.host.cc +++ b/digital/io-hub/src/apbirthday/hardware.host.cc @@ -38,6 +38,8 @@ Hardware::Hardware () ihm_lol (host, "ihm_lol"), ihm_emerg_stop (host, "ihm_emerg_stop"), glass_contact (host, "glass_contact"), + cherry_plate_left_contact (host, "cherry_plate_left_contact"), + cherry_plate_right_contact (host, "cherry_plate_right_contact"), cherry_bad_out (host, "cherry_bad_out"), cherry_bad_in (host, "cherry_bad_in"), cherry_plate_up (host, "cherry_plate_up"), diff --git a/digital/io-hub/src/apbirthday/hardware.stm32.cc b/digital/io-hub/src/apbirthday/hardware.stm32.cc index 9bc7984e..be83905c 100644 --- a/digital/io-hub/src/apbirthday/hardware.stm32.cc +++ b/digital/io-hub/src/apbirthday/hardware.stm32.cc @@ -37,6 +37,8 @@ Hardware::Hardware () ihm_lol (GPIOD, 11), ihm_emerg_stop (GPIOC, 6), glass_contact (GPIOC, 13), + cherry_plate_left_contact (GPIOE, 5), + cherry_plate_right_contact (GPIOE, 6), cherry_bad_out (GPIOE, 0), cherry_bad_in (GPIOE, 1), cherry_plate_up (GPIOE, 2), cherry_plate_down (GPIOE, 3), cherry_plate_clamp (GPIOE, 4), -- cgit v1.2.3