Draxcat
Hi All
I don't hope this hasn't been asked before, but....
How can I use the front button and other leads on the Arduino Opta?
 
There seems to be scant info on the interweb
 
Many thank
thiagoralves
Pins are defined in the IO Config menu inside the upload dialog. You can define whatever pins you want to use there, including LEDs and push buttons
Reply 0 0
Draxcat
Pins are defined in the IO Config menu inside the upload dialog. You can define whatever pins you want to use there, including LEDs and push buttons
So the Opta front button is attached to PE4 I believe so, I just put in PE4 or BTN_USER? Sorry, I have redefined pins but not for the Opta.
Reply 0 0
thiagoralves
You need to use whatever pin names are used on the Arduino IDE
Reply 0 0
Draxcat
You need to use whatever pin names are used on the Arduino IDE
Ah ok, so I need to figure that out because on the arduino ide it's always referenced as BTN_USER
That's not a pin number. Thanks for your help. Ill figure it.
Reply 0 0
thiagoralves
So you can use BTN_USER for that just fine
Reply 0 0
Draxcat
So you can use BTN_USER for that just fine
Sweet, thank you so much.
Reply 0 0
Draxcat
I must be stupid. I cannot get this front button to work. I need it for a project. I've tried everything. Sorry to be a nuisance
Rob
Reply 0 0
Draxcat
1000013217.jpg
What goes in the location box for the opta front button? Thanks
Reply 0 0
thiagoralves
Your image is not loading
Reply 0 0
Draxcat
1000013217.jpg
Reply 0 0
Draxcat
Can you see it now?
Reply 0 0
thiagoralves
Yes, but %IX0.0 will only map to the front button if you do so on the IO Config screen
Reply 0 0
Draxcat
Yes. Got it working. Thank you. Might be good to do a short video on that sort of thing because there is no real info on the opta pins for openplc.
PS im using openplc over the arduino plc! Yours is way better.
Reply 0 0
thiagoralves
Yes. Got it working. Thank you. Might be good to do a short video on that sort of thing because there is no real info on the opta pins for openplc.
PS im using openplc over the arduino plc! Yours is way better.
I know… Unfortunately Arduino baked a very bad IDE for their product. Our v4 editor will be even better. I’m holding on videos and tutorials until v4 is finished. Stay tuned
Reply 1 0
Reply