changed #define pins to const ints

This commit is contained in:
Tom Igoe 2009-04-24 17:36:16 +00:00
parent 0859fba64d
commit a0b3e6334d
1 changed files with 3 additions and 3 deletions

View File

@ -15,9 +15,9 @@
*/
#define redPin 0
#define greenPin 1
#define bluePin 2
const int redPin = 0; // sensor to control red color
const int greenPin = 1; // sensor to control green color
const int bluePin = 2; // sensor to control blue color
void setup()
{