Fun fact, the pin to make the beeps is different on the C6 than both the S3 and C3.
on the C6, it's GPIO2 / BUZZER_PIN 2
Figured that out thanks to this issue: https://github.com/colonelpanichacks/flock-you/issues/23#issuecomment-3764325935
Fun fact, the pin to make the beeps is different on the C6 than both the S3 and C3.
on the C6, it's GPIO2 / BUZZER_PIN 2
Figured that out thanks to this issue: https://github.com/colonelpanichacks/flock-you/issues/23#issuecomment-3764325935
The other necessary bit was to update the dependencies to work with the C6, which is weirdly difficult?
I had to use an alternate espressif32 package and update h2zero/NimBLE-Arduino to 2.1.0 which deprecates NimBLEAdvertisedDeviceCallbacks, so that has to be modified in the code to NimBLEScanCallbacks
Eventually maybe I'll proper fork the repo and make this available, if I test the thing and it works.
Could I have just ordered an ESP S3 or C3? Yes. But that would be too easy.
I put all my skill points in software and 0 into hardware, so the hardest part of this for me may have been figuring out how to read a pinout diagram and figure out which pin the buzzer is mapped to.
Feeling good about figuring that out lol