From c96687c42be66a14b47b99c7f1f2e8e8a8d46111 Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Fri, 24 Apr 2009 17:33:59 +0000 Subject: [PATCH] changed #define pins to const ints --- build/shared/dist/examples/Communication/Dimmer/Dimmer.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/shared/dist/examples/Communication/Dimmer/Dimmer.pde b/build/shared/dist/examples/Communication/Dimmer/Dimmer.pde index a46790c3e..0990fe5fb 100644 --- a/build/shared/dist/examples/Communication/Dimmer/Dimmer.pde +++ b/build/shared/dist/examples/Communication/Dimmer/Dimmer.pde @@ -18,7 +18,7 @@ http://www.arduino.cc/en/Tutorial/Dimmer */ -#define ledPin 9 // the pin that the LED is attached to +const int ledPin = 9; // the pin that the LED is attached to void setup() {