I am try to use the snippet in VB,but the program never load properly or maybe the code itself is wrong.
I am quiet new with all the programming,so please teach me step by step.
//VISUAL BASIC IN WINDOWS NOT ARDUINO
- CODE: SELECT_ALL_CODE
Dim buffer As New StringBuilder()
Using comPort As SerialPort = My.Computer.Ports.OpenSerialPort("COM3")
Do
Dim line As String = comPort.ReadLine()
If line Is Nothing Then
Exit Do
Else
buffer.AppendLine(line)
End If
Loop
End Using
My Arduino connect at COM3 using USB.
What am I trying to do is collect all the data and save it/convert the data to something manageable for graph in Spreadsheet.Anyone can help?
OR
I have the wrong Arduino Board?I thought Arduino Leonardo is suitable for data storage and ArduinoMega is for Android Phone.
Which one?!Whatever...