mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
changed #define pins to const ints
This commit is contained in:
@ -15,9 +15,9 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define redPin 0
|
const int redPin = 0; // sensor to control red color
|
||||||
#define greenPin 1
|
const int greenPin = 1; // sensor to control green color
|
||||||
#define bluePin 2
|
const int bluePin = 2; // sensor to control blue color
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user