Added #error to printf for examples that require Arduino

This commit is contained in:
maniacbug
2011-12-18 10:56:12 -08:00
parent 19fa3954c0
commit 26ea4583cd
10 changed files with 243 additions and 191 deletions

View File

@@ -70,7 +70,7 @@ void setup(void)
delay(20); // Just to get a solid reading on the role pin
// read the address pin, establish our role
if ( digitalRead(role_pin) )
if ( ! digitalRead(role_pin) )
role = role_ping_out;
else
role = role_pong_back;