add new player and new firmware
This commit is contained in:
parent
b9fd99de54
commit
a99ced1ad1
19 changed files with 315 additions and 5 deletions
|
@ -14,7 +14,6 @@ void setup()
|
|||
pinMode(8, OUTPUT);
|
||||
pinMode(9, OUTPUT);
|
||||
Serial.begin(9600);
|
||||
Serial.write("PC2,8,Universal,END");
|
||||
}
|
||||
|
||||
void loop()
|
||||
|
@ -24,6 +23,11 @@ void loop()
|
|||
byte1 = Serial.read();
|
||||
byte2 = Serial.read();
|
||||
|
||||
if ((byte1 & 32) && (byte2 & 32))
|
||||
{
|
||||
if (byte1 & 1) Serial.write("PC3,8\n");
|
||||
}
|
||||
|
||||
if ((byte1 & 64) && (byte2 & 64))
|
||||
{
|
||||
if (byte1 & 1) digitalWrite(2, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue