Reverse the order of clock mod options. (#16)

This now matches original Gravity behavior. Also, now when applying CV mod positive voltages increase clock mod instead of reducing it.

Also fix pulse out, which wasn't previously updated when CLOCK_MOD was moved to program mem.

Reviewed-on: https://git.pinkduck.xyz/awonak/libGravity/pulls/16
This commit is contained in:
2025-07-22 00:00:49 +00:00
parent 4f04137f67
commit 1c0fb86bc1
3 changed files with 15 additions and 19 deletions

View File

@ -50,9 +50,6 @@ class Clock {
void Init() {
NeoSerial.begin(31250);
// Static pin definition for pulse out.
pinMode(PULSE_OUT_PIN, OUTPUT);
// Initialize the clock library
uClock.init();
uClock.setClockMode(uClock.INTERNAL_CLOCK);