[Arduino/C/C#] 아두이노로 리모컨 만들기 - 전원버튼 , 볼륨 조절
-주요동작기능전원 on/off볼륨 +/--하드웨어 설계-동작코드unsigned char OFF_PWM, ON_PWM; const unsigned char custom = 0x07; const unsigned char chup = 0x12; const unsigned char chdown = 0x10; const unsigned char power = 0x02; void setup() { // put your setup code here, to run once: pinMode(2,INPUT); pinMode(3,INPUT); pinMode(4,INPUT); pinMode(11, OUTPUT); OFF_PWM = TCCR2A; ON_PWM = _BV(COM2A0) | _BV(WGM21); TCCR2A =..