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

@ -29,7 +29,6 @@ void setup()
servoChannel[8].attach(10);
for (int i = 0; i < 19; i++) servoChannel[mapping[i]].write(offDegrees[i]);
Serial.begin(9600);
Serial.write("PC2,32,Mitzi/Helen,END");
}
void loop() {
@ -44,6 +43,11 @@ void loop() {
byte7 = Serial.read();
byte8 = Serial.read();
if ((byte1 & 32) && (byte2 & 32))
{
if (byte1 & 1) Serial.write("PC3,8\n");
}
if ((byte1 & 64) && (byte2 & 64) && (byte3 & 64) && (byte4 & 64) && (byte5 & 64))
{
if (byte1 & 1) servoChannel[mapping[0]].write(onDegrees[0]);