I just got a new spark and I want it to replace my garden arduino- bluetooth -vb.net project.
I wrote an app on vb.net that display the sensors value and control the valve, with commands like SerialPort1.Write(“1”) , SerialPort1.ReadLine().
How can I replace those commands to communicate with the spark cloud?
Even if you don’t know the vb.net syntax can you explain the logic I need to use?
I think some resources here might be helpful: