Skip to content

Instantly share code, notes, and snippets.

@neosarchizo
Last active November 8, 2015 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neosarchizo/ac9fa0bae216eac8b42f to your computer and use it in GitHub Desktop.
Save neosarchizo/ac9fa0bae216eac8b42f to your computer and use it in GitHub Desktop.
[아두이노, 상상을 현실로 만드는 프로젝트 입문편] 코드 7 - 2
void setup() {
randomSeed(analogRead(A0));
}
void loop() {
analogWrite(11, random(256));
analogWrite(10, random(256));
analogWrite(9, random(256));
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment