From a0b3e6334d20489eca3e7eac3d82c1dfe401754b Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Fri, 24 Apr 2009 17:36:16 +0000 Subject: [PATCH] changed #define pins to const ints --- .../Communication/VirtualColorMixer/VirtualColorMixer.pde | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/shared/dist/examples/Communication/VirtualColorMixer/VirtualColorMixer.pde b/build/shared/dist/examples/Communication/VirtualColorMixer/VirtualColorMixer.pde index c34852002..f23f1476f 100644 --- a/build/shared/dist/examples/Communication/VirtualColorMixer/VirtualColorMixer.pde +++ b/build/shared/dist/examples/Communication/VirtualColorMixer/VirtualColorMixer.pde @@ -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() {