add new player and new firmware

This commit is contained in:
Persephone Bubblegum-Holidy 2025-07-01 19:04:25 -07:00
parent b9fd99de54
commit a99ced1ad1
19 changed files with 315 additions and 5 deletions

View file

@ -13,7 +13,6 @@ void setup()
{
for (int i = 22; i <= 53; i++) pinMode(i, OUTPUT);
Serial.begin(9600);
Serial.write("PC2,32,Universal,END");
}
void loop()
@ -29,6 +28,11 @@ void loop()
byte7 = Serial.read();
byte8 = Serial.read();
if ((byte1 & 32) && (byte2 & 32))
{
if (byte1 & 1) Serial.write("PC3,32\n");
}
if ((byte1 & 64) && (byte2 & 64) && (byte3 & 64) && (byte4 & 64) && (byte5 & 64) && (byte6 & 64) && (byte7 & 64) && (byte8 & 64))
{
if (byte1 & 1) digitalWrite(22, 1);