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

@ -20,7 +20,6 @@ void setup()
servoChannel[5].attach(7);
for (int i = 0; i < 8; i++) servoChannel[mapping[i]].write(offDegrees[i]);
Serial.begin(9600);
Serial.write("PC2,8,Chuck E./Helen/Guest Star,END");
}
void loop()
@ -30,6 +29,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) servoChannel[mapping[0]].write(onDegrees[0]);