Hey,I see I am not the only one who is trying it's luck with VB. I've made a program that feeds a MySql database with sensoric input from the Arduino. The program searches the arduino and when found it keeps listining for input from the arduino. When senoric data comes in it's directly pushed to the database.The only thing I am not familiar with is the use of char variables for string makeup. I am trying to construct a string of different char variables but I am missing out an something I guess.It needs to be a comma seperated string just like above here is explained.can someone help me with this piece of code
The problem is I will have two Arduino sending the data.
I hope this will work.
It will. Keep in mind, though, that serial data transmission is slow and asynchronous. Keeping packets as small as possible is necessary. So, instead of "mote1", "1" would be better. Also, adding start and end-of-packet markers will make identification of a packet, and parsing of the packet, easier - "<1,xxx>".