Go Down

Topic: Need help with Arduino Mega and VB 2008 (Read 736 times) previous topic - next topic

ash901226

Hello I'm Ash from Malaysia. I own a Mega 2560 and would like to interface arduino with VB. i am able to send Serial command from VB to Mega but what i really want to know if it is possible for the Mega to send back to VB stating the current condition of a particular Output. for instant if a LED is on pin 25 is set high it will send to VB that LED 25 is ON.

eddiea6987

yes , if you know how to send data to the Arduino via serial through Visual Basic then all you have to do is tell VB to listen for data on what ever serial port your Arduino is connected to.
this is a link to microsofts online  MSDN library which details receiving Strings from serial ports in Visual Basic, im working on the same thing im just wating for some parts to arrive to start coding.

http://msdn.microsoft.com/en-us/library/7ya7y41k.aspx
I could print the Arduino logo on a box of cereal and sell it as "Arduin-O's"

ash901226

thank you so very much eddiea6987 i will look into it and will share my finding here thanks again

Go Up