DFRobot DFR0274 Краткое руководство по эксплуатации - Страница 10

Просмотреть онлайн или скачать pdf Краткое руководство по эксплуатации для Микроконтроллеры DFRobot DFR0274. DFRobot DFR0274 12 страниц. Rgb led strip driver shield

DFRobot DFR0274 Краткое руководство по эксплуатации
switch (key)
{
case 32640:
if
(Blue_flag|Red_flag|Green_flag){Blue_flag=false;Red_flag=false;Green_flag=fal
se;Flash_flag=false;}
else {Blue_flag=true;Red_flag=true;Green_flag==true;}
Serial.println("POWER");
break;
case 32385:
Serial.println("FUNC/STOP");
break;
case 32130:
Serial.println("|<<");
break;
case 32002:
Serial.println(">||");
break;
case 31875:
Serial.println(">>|");
break;
case 32512:
Serial.println("VOL+");
break;
case 31492:
Serial.println("VOL-");
break;
case 31620:
if (Blue_flag==true&&Blue_Bright>10)Blue_Bright-=10;
if (Red_flag==true&&Red_Bright>10)Red_Bright-=10;
if (Green_flag==true&&Green_Bright>10)Green_Bright-=10;
Serial.println("v");
break;
case 31365:
if (Blue_flag==true&&Blue_Bright<245)Blue_Bright+=10;
if (Red_flag==true&&Red_Bright<245)Red_Bright+=10;
if (Green_flag==true&&Green_Bright<245)Green_Bright+=10;
Serial.println("^");
break;
case 30982:
Serial.println("EQ");
break;
case 30855:
Serial.println("ST/REPT");
break;
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
// turns on UUT power
// FUNC/STOP turns off UUT power
// |<< ReTest failed Test
// >|| Test
// >>| perform selected test number
// VOL+ turns on individual test beeper
// VOL- turns off individual test beeper
// v scroll down tests
// ^ scroll up tests
// EQ negative tests internal setup
// ST/REPT Positive tests Select Test and Repeat Test