From 6e5326e0dd2f3f39ebc0cf14f1923a5f17dd2426 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 15 Jun 2010 22:19:10 -0400 Subject: new QA testing modes --- examples/test-session.cpp | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'examples/test-session.cpp') diff --git a/examples/test-session.cpp b/examples/test-session.cpp index 1c0f628..bd58866 100644 --- a/examples/test-session.cpp +++ b/examples/test-session.cpp @@ -420,6 +420,48 @@ void loop() { if((uint8)COMM.read() == (uint8)27) break; // ESC } break; + case 43: // '+' + COMM.println("Doing QA testing for 37 GPIO pins..."); + // turn off LED + digitalWrite(LED_PIN, 0); + for(int i = 0; i