aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAncyker <[email protected]>2023-08-01 18:26:20 -0400
committerAncyker <[email protected]>2023-08-01 18:26:20 -0400
commit6733c9f57c03b70a6062afe0c012c9cc0941e335 (patch)
tree5b3824852cee8bebad1b81d5d3e096677be101ac
parentfee5c867aa933f24ec4897909550a8a9141aba1c (diff)
downloadcartreader-6733c9f57c03b70a6062afe0c012c9cc0941e335.tar.gz
cartreader-6733c9f57c03b70a6062afe0c012c9cc0941e335.zip
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.
-rw-r--r--Cart_Reader/Cart_Reader.ino12
1 files changed, 12 insertions, 0 deletions
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 "));