Hi everyone! This is a small channel I wanted to grow to share my passion for Arduino. I make small projects and tutorials so stay tuned for more content. I post weekly videos! I hope that this channel will allow people to learn and explore the world of computer science and circuits. Please like and subscribe as it really means a lot to me and will help gain attention for others to see! Thank you so much!
I have lots of funds for this so please comment as I want to give back to my viewers. I will still be making Arduino content just evolving it with PCB and Raspberry Pi!! ❤
Es tut mir sehr leid. Das war mein erstes Video und ich habe ein paar Fehler gemacht. Danke, dass du es mir gesagt hast. In meinen neueren Videos mache ich keine Fehler mehr. Danke für deinen Kommentar
const int PIN_RED = 9; const int PIN_GREEN = 10; const int PIN_BLUE = 11; int red = 254; int green = 1; int blue = 127; int red_direction = -1; int green_direction = 1; int blue_direction = -1; void setColor(int R, int G, int B) { analogWrite(PIN_RED, R); analogWrite(PIN_GREEN, G); analogWrite(PIN_BLUE, B); } void setup() { pinMode(PIN_RED, OUTPUT); pinMode(PIN_GREEN, OUTPUT); pinMode(PIN_BLUE, OUTPUT); } void loop() { red = red + red_direction; green = green + green_direction; blue = blue + blue_direction; if (red >= 255 || red <= 0) { red_direction = red_direction * -1; } if (green >= 255 || green <= 0) { green_direction = green_direction * -1; } if (blue >= 255 || blue <= 0) { blue_direction = blue_direction * -1; } setColor(red, green, blue); delay(5); }