[아두이노] 6주차 - 가변저항
#define VOL A0 #define RLED 2 #define GLED 3 #define YLED 4 #define BUZ 6 #define OFF 99 #include "pitches.h" int s_1000[4] = {NOTE_C5, NOTE_E5, NOTE_G5,NOTE_C6}; int s_500[4] = {NOTE_C6, NOTE_G5, NOTE_E5,NOTE_C5}; void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode( VOL, INPUT); pinMode(RLED,OUTPUT); pinMode(YLED,OUTPUT); pinMode(GLED,OUTPUT); pinMode( BUZ,OUTPU..