Simple Digital Pin Control

Share your projects using MegunoLink Pro here!
Post Reply
jgrina
Posts: 8
Joined: Mon Aug 18, 2014 5:38 am

Simple Digital Pin Control

Post by jgrina » Mon Aug 18, 2014 7:12 am

Ok, my pin control is working. The PC side of this is an MLP program which has two radio buttons and a text box. The function of the radio buttons is to send commands to the Arduino Uno and the Uno interprets these and sets or clears pin 13. Then the Arduino notifies the MLP text box of the current state of pin 13. I. not sure how to share this but I'd be very happy to share. I still have three days on my free trial.

jgrina
Posts: 8
Joined: Mon Aug 18, 2014 5:38 am

Re: Simple Digital Pin Control

Post by jgrina » Thu Aug 21, 2014 3:29 am

I now have an explanation of the program. I wrote it with WordPad and copied the screen captures as .bmp files. This created a two page document which is 7.7 megabytes large.

griiker
Posts: 19
Joined: Wed Jun 27, 2018 12:27 am

Re: Simple Digital Pin Control

Post by griiker » Wed Jun 27, 2018 10:30 pm

I would like to see the arduino code for this. I am having trouble getting radio buttons to work.

philr
Posts: 200
Joined: Mon May 26, 2014 10:58 am

Re: Simple Digital Pin Control

Post by philr » Wed Jun 27, 2018 10:45 pm

Hi Griiker, here is an example that should demonstrate the radio buttons. The .ino file is the arduino program which you need to open and program to your device. The .mlpz files is a premade megunolink interface with radio buttons.
RadioButton.zip
(10.21 KiB) Downloaded 42 times
Hope this helps.
Phil

Post Reply