My Instructables username is RoboGeekDude12!
@058686 - I translated you.The message says:QuoteMy Instructables username is RoboGeekDude12!http://home2.paulschou.net/tools/xlate/
Via the USB cable.I suspect you are asking for something else....
Write a program in VB/C/C#/whatever that sends commands to the Arduino via the USB.Write a program on the Arduino that parses these commands.______Rob
My take on "whatever" is to use a language called Processing, it is free to download and use and remarkably similar to the Arduino code.Well not so remarkable actually as the Arduino was derived from it.
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Long Dim s As String If Not SerialPort1.IsOpen() Then SerialPort1.Open() End If TextBox1.Text = "" TextBox1.Refresh() Do While i < 50 SerialPort1.Write("<hello>") s = SerialPort1.ReadLine() TextBox1.Text = TextBox1.Text + s + vbCrLf TextBox1.Refresh() i = i + 1 Loop End Sub Private Sub Form1_Disposed(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Disposed If SerialPort1.IsOpen() Then SerialPort1.Close() End If End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load SerialPort1.PortName = "Com33" SerialPort1.Open() End SubEnd Class
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16