Page 1 of 2
Digital Volume Rocker - Up is down, down is up?
Posted: Thu Mar 15, 2018 11:27 am
by cowdog360
Hello,
I just installed the digital volume rocker switch. I noticed that when you push the knob up, the volume decreases, and down the volume increases. Would there be an easy fix for this in the arduino config.h I could use? (Thinking just reversing the two pins in the config, rather than hacking the PCB itself).
Thanks!
Re: Digital Volume Rocker - Up is down, down is up?
Posted: Thu Mar 15, 2018 11:53 am
by sygyzy
The instructions on the wiki are/were incorrect and need to be fixed. You can correct it by reversing the wiring or like you said, probably by editing the config.
Re: Digital Volume Rocker - Up is down, down is up?
Posted: Thu Mar 15, 2018 2:12 pm
by cowdog360
Yeah, so the easy fix is just open up the config.h file (you have to anyways to enable the rocker).
For the lines
#define BTN_C1 12
#define BTN_C2 11
Change to:
#define BTN_C1 11
#define BTN_C2 12
Fixed!
Re: Digital Volume Rocker - Up is down, down is up?
Posted: Thu Mar 15, 2018 2:58 pm
by sygyzy
Perfect post man - you explained the fix clearly and even provided a screenshot.
Re: Digital Volume Rocker - Up is down, down is up?
Posted: Thu Mar 15, 2018 4:22 pm
by kite
I've raised an issue on github to track this so i can be aware and fix it:
https://github.com/kiteretro/Circuit-Sword/issues/32
Any thing like this that you find, please either make a pull request or just raise an issue and I'll be able to fix it for everyone

Otherwise if I miss these posts it might not be permanently fixed

Re: Digital Volume Rocker - Up is down, down is up?
Posted: Sun Jul 01, 2018 3:25 am
by kite
Just to let people know, the latest version of code now has digital volume rocker enabled by default for the 'alt' pins (RX and TX) and the inverted thing also fixed. Just run "update.sh" and "flash-arduino.sh" .. if it works currently with no issues, no need to update.
Re: Digital Volume Rocker - Up is down, down is up?
Posted: Mon Jul 16, 2018 1:57 pm
by cvondra
I've got the 1.1e board. I have cut the traces on the board jumped the wires to the TX and RX and confirmed my solder points on the board/switch. I have flashed/updated but get no love in either direction on my switch. Driving me batshit crazy.
PS. After update of the arduino the overall system responsiveness is dog slow. Unusable. I have flashed back to the latest 'stable' release and speed is fine but no love on vol. rocker. Update again and back to unusably slow response on all controls.
Re: Digital Volume Rocker - Up is down, down is up?
Posted: Tue Jul 17, 2018 1:57 am
by kite
You need to update the arduino code, have you done that? (by update I mean to latest)
If you run the ./flash-arduino.sh script (after performing the ./update.sh script) inside the Circuit-Sword directory, that should help. There was an issue with older code around that area you describe
Re: Digital Volume Rocker - Up is down, down is up?
Posted: Tue Jul 17, 2018 12:03 pm
by cvondra
It must have been a bad rocker. I removed it and soldered a new on in its place and have love now. Now I have the up is down down is up issue. I've flashed the arduino using the method you suggested but am going to flash again now that everything is working.
Re: Digital Volume Rocker - Up is down, down is up?
Posted: Tue Jul 17, 2018 2:10 pm
by cvondra
Have updated multiple times still reversed up/down. Checked to make sure my wires were run per guide and they are.
Thoughts?