I am new on this forum, and maybe someone can help me with a problem.
I am trying to change a program to control an arduino mega from computer program. I must tell you I am a beginner in programming.
The problem is I want to control pin 2 of an arduino mega with computer software (PWM) and I don't know how do do it
Thank you in advance for help!
Below is the arduino program and visual c# files