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/qa-slave-shield.cpp | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 examples/qa-slave-shield.cpp (limited to 'examples/qa-slave-shield.cpp') diff --git a/examples/qa-slave-shield.cpp b/examples/qa-slave-shield.cpp new file mode 100644 index 0000000..fcee9cf --- /dev/null +++ b/examples/qa-slave-shield.cpp @@ -0,0 +1,49 @@ +// slave mode for QA shield + +#include "wirish.h" + +#define LED_PIN 13 +#define NUM_GPIO 38 // not the number of the max... + +int i; + +void setup() +{ + /* Set up the LED to blink */ + pinMode(LED_PIN, OUTPUT); + digitalWrite(LED_PIN, 1); + + for(i=0; i