Good day
I would like to know what to do to make an app work, and what to add if I only got the source code like in the examle on this page
http://maxatcurotek.blogspot.com/2010/03/controlling-servo-attached-to-arduino.html and the source below:
C#.NET Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void trackBar1_Scroll(object sender, EventArgs e)
{
serialPort1.Write(trackBar1.Value + "s");
}
private void Form1_Load(object sender, EventArgs e)
{
serialPort1.Open();
serialPort1.Write("0s");
}
}
}
I do have Microsoft Visual Studio installed.