Arduino Forum

Products => The Arduino Starter Kit and Basic Kit => Topic started by: marsh91 on Nov 15, 2017, 05:25 pm

Title: Project 4- No green
Post by: marsh91 on Nov 15, 2017, 05:25 pm
I was having problems getting the led to turn green. I could get a little transition to blue led but it was primarily red. I could not get it to turn green at all. I unplugged power to blue and red pins to make sure the green led worked and it did but with all three plugged in I couldn't get a dominant green. Is this just how this works or have I done something incorrect? I want to move on to project 5 but I cannot mentally move on to the next project without knowing if I completed this project correctly.
Title: Re: Project 4- No green
Post by: rogertee on Dec 04, 2017, 12:41 am
You need to look at the values in the serial monitor you may find that green is getting lower values from photocell. Move wires 9,10 & 11 around i.e. make them trade places and see if green gets brighter using reds output etc.
Title: Re: Project 4- No green
Post by: greg2002tii on Dec 13, 2017, 02:26 am
I had the same issue today, so i changed the code to loop thru the colors one by one, and indeed, they all turn on correctly.