You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm trying to create VB application which will upload hex file using ArduinoSketchUploader NuGet.
Here is my code:
**Public Sub Sketch_Uploader(sender As Object, e As EventArgs)
Dim folderPath As String
folderPath = "C:\Users\Milosz\Desktop\"
Dim fileName As String
fileName = "blink.hex"
Dim fullPath As String
fullPath = My.Computer.FileSystem.CombinePath(folderPath, fileName)
Dim uploader As ArduinoSketchUploader = Nothing
Dim options As ArduinoSketchUploaderOptions = Nothing
options.ArduinoModel = Hardware.ArduinoModel.UnoR3
options.FileName = fullPath
options.PortName = "COM3"
uploader.UploadSketch()
End Sub**
Code is being compliled but nothig happens. Do you have some idea what can be wrong with it or maybe it is not possible to do it using VB and i have to switch to C#.
I would be very grateful for any help.
The text was updated successfully, but these errors were encountered:
Are your options actually being applied?
you have assigned the variable options your settings but i dont see where those settings are being given to the uploader variable.
Incase you are interested i am coding a gui for this uploader and can be found at https://github.com/SuperNinja-4965/Arduino-Hex-Uploader. i have not made a release yet so you will have to download and run the code yourself. It is coded in vb.net.
Hi
I'm trying to create VB application which will upload hex file using ArduinoSketchUploader NuGet.
Here is my code:
Code is being compliled but nothig happens. Do you have some idea what can be wrong with it or maybe it is not possible to do it using VB and i have to switch to C#.
I would be very grateful for any help.
The text was updated successfully, but these errors were encountered: