From c039288e64477b38041c9badc977bf25fec990f0 Mon Sep 17 00:00:00 2001 From: DenzelChen <291689742@qq.com> Date: Wed, 2 Sep 2020 18:19:28 +0800 Subject: [PATCH] Update processing sketch 04 --- .../Sketch_04_1_1_ColorfulLED.pde | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Processing/Sketches/Sketch_04_1_1_ColorfulLED/Sketch_04_1_1_ColorfulLED.pde b/Processing/Sketches/Sketch_04_1_1_ColorfulLED/Sketch_04_1_1_ColorfulLED.pde index c87479e..0dab44d 100644 --- a/Processing/Sketches/Sketch_04_1_1_ColorfulLED/Sketch_04_1_1_ColorfulLED.pde +++ b/Processing/Sketches/Sketch_04_1_1_ColorfulLED/Sketch_04_1_1_ColorfulLED.pde @@ -6,9 +6,9 @@ *****************************************************/ import processing.io.*; -int bluePin = 17; //blue Pin -int greenPin = 27; //green Pin -int redPin = 22; //red Pin +int bluePin = 27; //blue Pin +int greenPin = 18; //green Pin +int redPin = 17; //red Pin int borderSize = 40; //picture border size //Create a PWM pin,initialize the duty cycle and period SOFTPWM pRed = new SOFTPWM(redPin, 100, 100); @@ -78,4 +78,4 @@ void titleAndSiteInfo() { text("Colorful LED", width / 2, 40); //title textSize(16); text("www.freenove.com", width / 2, height - 20); //site -} \ No newline at end of file +}