Page 2 of 3
Re: Switch array
Posted: Tue Aug 11, 2026 2:41 pm
by medelec35
Hi Bob.
Is what I posted what you re after?
Can you please let me know.
Re: Switch array
Posted: Tue Aug 11, 2026 8:09 pm
by siliconchip
Hi martin
Sorry for the delay works got in the way i will let you know tomorrow as ive not got access to my pc at the mo
Cheers bob
Re: Switch array
Posted: Wed Aug 12, 2026 7:15 am
by siliconchip
Hi martin
Ive added the file to global settings / location and in the component libary i can see in the inputs section switch array reversed (slide ) on opening the switches go from left to right straight away on opening which is what i was after but if you go to input mode then select custom pin they revert back to right to left.?
Is it possible to have the reverse option on the switch array ( push) function as well please
Cheers bob
Re: Switch array
Posted: Wed Aug 12, 2026 11:38 am
by medelec35
Hi Bob.
Can you give the attached component a go.
The update won't be effective until your project is reloaded.
Just place the attached component in the custom component folder.
Re: Switch array
Posted: Wed Aug 12, 2026 8:26 pm
by siliconchip
hi martin
ive added the file but the slide switch array opens up in custom mode and porta0 is on the right and im unable to flip it around
cheers bob
Re: Switch array
Posted: Wed Aug 12, 2026 10:33 pm
by medelec35
Hi Bob.
Hmm.
I will look in to it.
It's reversed on the switches but not properties
Re: Switch array
Posted: Thu Aug 13, 2026 1:16 pm
by medelec35
Hi Bob.
Hopefully all sorted now.
Note:
You will need to have port selected before changing to Forward or Reverse.
Then you can select Custom pins
The reason is if on custom it's designed not to change on reloading component.
Therefore to start, custom pins gets the port pin allocations from the port assignment.
Currently the modified Switch Array is a non official component.
If you want the official modified so you no longer require the component I created, then you will need to request it.
Depending on if Ben approves it or not I can modify all the arrays to work the same.
To be honest, if deemed as it's too niche, then I can't see it being approved.
Re: Switch array
Posted: Thu Aug 13, 2026 6:04 pm
by siliconchip
hi martin
i selected port as requested then changed to reverse and they changed however when changing to custom pins they reverted back and a i was unable to change unless input mode was port
cheers bob
Re: Switch array
Posted: Thu Aug 13, 2026 7:50 pm
by medelec35
Right, I now believe I found the bug.
Looks like I did not test 1 scenario
Fingers crossed.
Re: Switch array
Posted: Thu Aug 13, 2026 9:48 pm
by siliconchip
hi martin
it works perfect, could you apply this to the " switch array (push)" by any chance ? and a big thank you, also ben if your looking please add this as an update
once again thank you
cheers bob