Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > Microcontrollers 8bit > Transfering int...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 781 of 862
Post > Topic >>

Transfering integer via rs232 without converting to string.

by "Henning Mortensen" <henning@[EMAIL PROTECTED] > Apr 1, 2007 at 09:35 AM

Hi all,

I would like to transfer an integer (4bytes) from a vb program running on
my 
main computer to an ATmega8 microcontroller without having to convert it
to 
a string and sending every char of the number.
Is this at all possible? Haven't found out how to get to the 4bytes 
represending the integer in vb yet..

It's not transfer of the bytes that is the problem but how to get to the 4

bytes in vb, and how to tell the microcontroller that the 4 bytes is to 
represent an integer?!

Hope someone out there knows a solution to this "small" problem, as this 
would simplify my microcontroller code a lot...

Thanks
 




 7 Posts in Topic:
Transfering integer via rs232 without converting to string.
"Henning Mortensen&q  2007-04-01 09:35:50 
Re: Transfering integer via rs232 without converting to string.
Gilles Kohl <gilles_de  2007-04-01 11:04:41 
Re: Transfering integer via rs232 without converting to string.
"Henning Mortensen&q  2007-04-01 16:18:17 
Re: Transfering integer via rs232 without converting to string.
"Henning Mortensen&q  2007-04-23 17:30:41 
Re: Transfering integer via rs232 without converting to string.
Gilles Kohl <gilles_de  2007-04-23 21:19:26 
Re: Transfering integer via rs232 without converting to string.
"Henning Mortensen&q  2007-04-24 09:08:28 
Re: Transfering integer via rs232 without converting to string.
Gilles Kohl <gilles_de  2007-04-24 23:24:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 21:26:55 CST 2008.