changed #define pins to const ints

This commit is contained in:
Tom Igoe 2009-04-24 17:33:59 +00:00
parent 912e56a205
commit c96687c42b
1 changed files with 1 additions and 1 deletions

View File

@ -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()
{