![]() Ok, i copied your program and pasted it into mine, deleted my “oncomm…” etc and added at the end of your program label2.caption=Tempnow LLowByte = Asc(Mid$(sData, 2, 1)) ' Get 2nd byte ![]() LHighByte = Asc(Mid$(sData, 1, 1)) ' get 1st byte ' Make sure DTR line is low to prevent Stamp reset ' 2400 Baud, No Parity, 8 Data Bits, 1 Stop Bit ' When Inputting Data, Input 2 Bytes at a time I am trying to send a temperature (LM335) from the arduino to my visual basic 6.0 program and sofar i get the correct temp inside the "serial monitor" but when i try to receive it in VB6 all i get is a large number.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |