Created
June 12, 2017 05:33
-
-
Save HectorTorres/36d846b2348db30ea3fbff7e38f313fc to your computer and use it in GitHub Desktop.
visual-arduino.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Form1 | |
Dim temp As String | |
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick | |
temp = sp1.ReadLine | |
txt1.Text = temp | |
End Sub | |
Private Sub btn1_Click(sender As Object, e As EventArgs) Handles btn1.Click | |
sp1.Open() | |
Timer1.Start() | |
End Sub | |
Private Sub btn2_Click(sender As Object, e As EventArgs) Handles btn2.Click | |
sp1.Close() | |
End Sub | |
End Class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment