From 47361618c5c214ce46054602cd0f52b20936dab4 Mon Sep 17 00:00:00 2001 From: Pete Lewis Date: Mon, 18 Feb 2013 14:09:28 -0700 Subject: [PATCH] Corrected hardware mapping for BAORD_REV_4_9_2009 The LED_GREEN is actually off of PORTD.2, and so in arduino this is Digital Pin "2". Also added/adjusted comments on the #defines for board revs to include "PTH" and "SMD" and additional date codes. --- Firmware/Simon_Says/hardware_versions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Firmware/Simon_Says/hardware_versions.h b/Firmware/Simon_Says/hardware_versions.h index d5fc193..7d0bb16 100644 --- a/Firmware/Simon_Says/hardware_versions.h +++ b/Firmware/Simon_Says/hardware_versions.h @@ -15,8 +15,8 @@ // Uncomment one of the following, corresponding to the board you have. -#define BOARD_REV_2_3_2011 //Works with board label '2-3-2011' -//#define BOARD_REV_4_9_2009 +//#define BOARD_REV_2_3_2011 //Works with PTH board label '2-3-2011' +#define BOARD_REV_4_9_2009 //Works with SMD simoon board label '4/9/2009' and '9/7/11' //#define BOARD_REV_6_25_2008 #ifdef BOARD_REV_2_3_2011 @@ -42,7 +42,7 @@ #define LED_BLUE 13 //PORTB.5 #define LED_YELLOW 5 //PORTD.5 #define LED_RED 10 //PORTB.2 - #define LED_GREEN 1 //PORTD.2 - This may conflict with TX + #define LED_GREEN 2 //PORTD.2 // Button pin definitions #define BUTTON_RED 8 //PINB.0