I need to use the input 4 and input 5 in the simulator studio, but must be used as a download cable and power connector.
On which PICAXE? The 18M2?
When adding buttons, the input the button controls is automatically selected so you cannot do this using the GUI. The software is copyrighted 2005-2008, before the M2 parts were released so it's understandable for no support for these pins to be offered. However, the pss files created by Simulation Studio are in xml format rather than some weird proprietary format so you can simply open it in Notepad to enable the button.
To make the button for input 5 appear, I did the following:
Under <inputpctdetails>, I changed the following:
- <pctIn5Mode>true</pctIn5Mode>
to the following:
- <pctIn5Mode>false</pctIn5Mode>
Then under <inputbtndetails>, I changed these:
- <btnIn5Width>0</btnIn5Width>
- <btnIn5Height>0</btnIn5Height>
to this:
- <btnIn5Width>20</btnIn5Width>
- <btnIn5Height>20</btnIn5Height>
The result was that I got a small button in the top left corner of the simulation studio and it changed input 5. It can be resized and moved.
Just repeat for input 4.