hello i'm super newb please don't bash me much. i'm using led's , i've connected them correctly (finally) , wondering why program here ( http://www.arduino.cc/en/tutorial/colorcrossfader ) doesn't work? say's haven't declared crossfade. read directions on top , said crossfade needs used list order of colors. isn't declared in main part (void loop() )? or need declared before? nevermind void on bottom , needed before voidloop. lol anyways playing rgb led's wondering if has specific way of making them fade in , out different colors? (brightness , color mixing) code: [select] /* * code cross-fading 3 leds, red, green , blue (rgb) * create fades, need 2 things: * 1. describe colors want displayed * 2. list order want them fade in * * describing color: * color array of 3 percentages, 0-100, * controlling red, green , blue leds * * red red led @ full, blue , green off * int red = { 100, 0, 0 } * dim white 3 l...
Comments
Post a Comment