If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Toggle button problem. Need some guidance.
5 posts
• Page 1 of 1
Toggle button problem. Need some guidance.
Hi. So have been working on this Chorus for a while now, but im struggling with some of the buttons. So ive made four buttons for naming and saving presets, aswell as changing presets. And I also replaced an on / off switch with a new one, all from Knobman. Now the problem is this: the 'Prev' , 'Next' and the 'Power' buttons
Doesn't work as they should. When I press these buttons they dissapear until you press them again. Anyone got a clue what Might be wrong? Im leaving the schematic here for those who might have the solution. And if so, would you attach a comment on how you did it inside the schematic for future reference?
And yeah I know, its just the basic Stock Chorus, with some minor tweaks. I need to start somewhere right?
Cheers.
Doesn't work as they should. When I press these buttons they dissapear until you press them again. Anyone got a clue what Might be wrong? Im leaving the schematic here for those who might have the solution. And if so, would you attach a comment on how you did it inside the schematic for future reference?
And yeah I know, its just the basic Stock Chorus, with some minor tweaks. I need to start somewhere right?
Cheers.
- Attachments
-
- AChorus.fsm
- (56.43 KiB) Downloaded 1077 times
- Halon
- Posts: 321
- Joined: Sat Nov 28, 2015 4:42 pm
- Location: Norway
Re: Toggle button problem. Need some guidance.
For the toggle switch the issue is your bitmap. The individual frames (here 2, the "on" and "off" states) have to be layed out horizontally (from left to right), but you have them layed out vertically. Also, you have to use the correct pixel value for cell size. If the width of 1 frame is 100 pixels (which it is here), you can't use 125 pixels (which you did).
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2688
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Toggle button problem. Need some guidance.
tulamide wrote:For the toggle switch the issue is your bitmap. The individual frames (here 2, the "on" and "off" states) have to be layed out horizontally (from left to right), but you have them layed out vertically. Also, you have to use the correct pixel value for cell size. If the width of 1 frame is 100 pixels (which it is here), you can't use 125 pixels (which you did).
Thanks. How do I lay them out horizontally?
- Halon
- Posts: 321
- Joined: Sat Nov 28, 2015 4:42 pm
- Location: Norway
Re: Toggle button problem. Need some guidance.
Alternatively you can edit the Ruby code!
I did this partly for my own education and it works.
I've added notes in the Ruby edit box to tell you what I did.
Here's just the rocker switch modified so you could use this as a starting point maybe...
Cheers
Spogg
I did this partly for my own education and it works.
I've added notes in the Ruby edit box to tell you what I did.
Here's just the rocker switch modified so you could use this as a starting point maybe...
Cheers
Spogg
- Attachments
-
- Rocker switch with vertical image strip.fsm
- (13.47 KiB) Downloaded 1016 times
-
Spogg - Posts: 3324
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Toggle button problem. Need some guidance.
Spogg wrote:Alternatively you can edit the Ruby code!
I did this partly for my own education and it works.
I've added notes in the Ruby edit box to tell you what I did.
Here's just the rocker switch modified so you could use this as a starting point maybe...
Cheers
Spogg
Thanks Spogg! Appreciate it.
Oh, I figured out how to change it from Vertically to horizontally, @tulamide.
- Halon
- Posts: 321
- Joined: Sat Nov 28, 2015 4:42 pm
- Location: Norway
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 76 guests