mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-27 21:41:52 +01:00
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.
This commit is contained in:
parent
fee5c867aa
commit
6733c9f57c
@ -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 "));
|
||||
|
Loading…
Reference in New Issue
Block a user