Digital Volume Rocker - Up is down, down is up?

cowdog360
Posts: 28
Joined: Sun Feb 26, 2017 8:34 pm
Been thanked: 9 times

Digital Volume Rocker - Up is down, down is up?

Post by cowdog360 » Thu Mar 15, 2018 11:27 am

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!

sygyzy
Posts: 191
Joined: Tue Sep 05, 2017 12:45 pm
Has thanked: 52 times
Been thanked: 33 times

Re: Digital Volume Rocker - Up is down, down is up?

Post by sygyzy » Thu Mar 15, 2018 11:53 am

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.

cowdog360
Posts: 28
Joined: Sun Feb 26, 2017 8:34 pm
Been thanked: 9 times

Re: Digital Volume Rocker - Up is down, down is up?

Post by cowdog360 » Thu Mar 15, 2018 2:12 pm

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!
Attachments
configh-volume.png
configh-volume.png (8.65 KiB) Viewed 5618 times

sygyzy
Posts: 191
Joined: Tue Sep 05, 2017 12:45 pm
Has thanked: 52 times
Been thanked: 33 times

Re: Digital Volume Rocker - Up is down, down is up?

Post by sygyzy » Thu Mar 15, 2018 2:58 pm

Perfect post man - you explained the fix clearly and even provided a screenshot.

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: Digital Volume Rocker - Up is down, down is up?

Post by kite » Thu Mar 15, 2018 4:22 pm

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 :)
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: Digital Volume Rocker - Up is down, down is up?

Post by kite » Sun Jul 01, 2018 3:25 am

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.
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

cvondra
Posts: 11
Joined: Wed Aug 02, 2017 10:54 am
Has thanked: 1 time
Been thanked: 2 times

Re: Digital Volume Rocker - Up is down, down is up?

Post by cvondra » Mon Jul 16, 2018 1:57 pm

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.

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re: Digital Volume Rocker - Up is down, down is up?

Post by kite » Tue Jul 17, 2018 1:57 am

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
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

cvondra
Posts: 11
Joined: Wed Aug 02, 2017 10:54 am
Has thanked: 1 time
Been thanked: 2 times

Re: Digital Volume Rocker - Up is down, down is up?

Post by cvondra » Tue Jul 17, 2018 12:03 pm

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.

cvondra
Posts: 11
Joined: Wed Aug 02, 2017 10:54 am
Has thanked: 1 time
Been thanked: 2 times

Re: Digital Volume Rocker - Up is down, down is up?

Post by cvondra » Tue Jul 17, 2018 2:10 pm

Have updated multiple times still reversed up/down. Checked to make sure my wires were run per guide and they are.

Thoughts?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest