Skip to content

Commit

Permalink
Blinkit v2.2
Browse files Browse the repository at this point in the history
Arduino RGB LED support, and support for Webcams.
  • Loading branch information
techtek committed May 22, 2018
1 parent 922bba9 commit 3b41f67
Show file tree
Hide file tree
Showing 41 changed files with 840 additions and 195 deletions.
Binary file modified Blinkit.exe
Binary file not shown.
16 changes: 0 additions & 16 deletions arduinosendcommandVBcode.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ConnectSerial()

' Sleep 2 second to let the files update
Threading.Thread.Sleep(500) ' 2000 milliseconds = 2.0 seconds

Me.Visible = False
End Sub

Expand All @@ -34,25 +30,13 @@ Public Class Form1
' Write the Command to the Arduino
If SerialPort.IsOpen Then
SerialPort.Write(ArduinoCommand)

' Sleep 2 second to let the files update
Threading.Thread.Sleep(2000) ' 2000 milliseconds = 2.0 seconds

SerialPort.Close()
Else
ConnectSerial()
SerialPort.Write(ArduinoCommand)

' Sleep 2 second to let the files update
Threading.Thread.Sleep(2000) ' 1000 milliseconds = 2.0 seconds

SerialPort.Close()
End If

Me.Close()
End Sub



End Class

12 changes: 0 additions & 12 deletions arduinosendmodeVBcode.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ConnectSerial()

' Sleep 2 second to let the files update
Threading.Thread.Sleep(2000) ' 2000 milliseconds = 2.0 seconds

Me.Visible = False

End Sub
Expand All @@ -35,18 +31,10 @@ Public Class Form1
' Write the mode to the Arduino
If SerialPort.IsOpen Then
SerialPort.Write(ArduinoMode)

' Sleep 2 second to let the files update
Threading.Thread.Sleep(2000) ' 2000 milliseconds = 2.0 seconds

SerialPort.Close()
Else
ConnectSerial()
SerialPort.Write(ArduinoMode)

' Sleep 2 second to let the files update
Threading.Thread.Sleep(2000) ' 2000 milliseconds = 2.0 seconds

SerialPort.Close()
End If
Me.Close()
Expand Down
Loading

0 comments on commit 3b41f67

Please sign in to comment.