From 6733c9f57c03b70a6062afe0c012c9cc0941e335 Mon Sep 17 00:00:00 2001 From: Ancyker Date: Tue, 1 Aug 2023 18:26:20 -0400 Subject: [PATCH] Add note to self-test on HW3 that the EEP switch should be set to on. Unable to actually test this myself because I do not have a HW3 to test on. However, looking at the schematic, if the EEP switch is set to the off position then the pin will be floating and the result of the 1K resistor test will be random. --- Cart_Reader/Cart_Reader.ino | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Cart_Reader/Cart_Reader.ino b/Cart_Reader/Cart_Reader.ino index 8633ef6..1d8b21e 100644 --- a/Cart_Reader/Cart_Reader.ino +++ b/Cart_Reader/Cart_Reader.ino @@ -1440,6 +1440,18 @@ void selfTest() { wait(); display_Clear(); +#if defined(HW3) + println_Msg(F("Self Test")); + println_Msg(F("")); + println_Msg(F("Turn the EEP switch on.")); + println_Msg(F("")); + println_Msg(F("")); + print_STR(press_button_STR, 1); + display_Update(); + wait(); + display_Clear(); +#endif + // Test if pin 7 is held high by 1K resistor pinMode(7, INPUT); println_Msg(F("Testing 1K resistor "));