Plugin to detect wh...
 
Notifications
Clear all

Plugin to detect when a button is pressed in the arduino.

2 Posts
2 Users
0 Reactions
799 Views
 ckac
(@ckac)
New Member
Joined: 5 years ago
Posts: 1
Topic starter  

Hi guys, is it possible for a plugin to detect if a button was pressed in the arduino?

I couldn't find any documentation related to plugins and checking the plugins dlls didn't help much. I noticed that there is a serial monitor plugin but I am wondering if this kind of arduino action is somehow exposed for custom plugins in a more friendly way.

Thank you in advance,


   
Quote
Topic Tags
(@busdriver)
Active Member
Joined: 3 months ago
Posts: 9
 

It depends on what button this is.  If you are talking about joystick buttons, there is direct support for this in Simhub.  If you are talking about a hardware button, you are probably best off with SHCustomProtocol.h and listen to the button there.
I pick up the input from a potentiometer there to drive PWM output on the Arduino for setting backlight brightness.


   
ReplyQuote
Share: