코풀 커뮤니티

RGBLED - 원하는 색상 3개 출력하기

과제

이*하

2024-12-24

post-image
post-image
post-image
post-image
post-image
post-image
post-image
post-image
post-image

코드에디터

C
#include <HuemonelabKit.h>

RGBLed rgb(9,10,11);

void setup () {
}

void loop () {
rgb.setColor(255,0,0);
delay(1000);
rgb.setColor(0,255,0);
delay(1000);
rgb.setColor(0,0,255);
delay(1000);
}
입력
실행 결과
이 곳에 결과가 표시됩니다.
computerlogo