Pages: [1]   Go Down
Author Topic: udword and udbytes?  (Read 335 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
God Member
*****
Karma: 1
Posts: 530
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

Could anybody please shed some light on what 'udword' and 'udbytes' may refer to in the context of RS232 serial streams? Such as "choose the data channels to be sent in the UDWORD positions of the datastream"...

Many thanks!
« Last Edit: May 26, 2013, 05:29:18 pm by jtw11 » Logged

Leeds, UK
Offline Offline
Edison Member
*
Karma: 78
Posts: 1720
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

UDWORD = Unsigned Double Word = Unsigned long in arduino terms. Its an unsigned 4byte integer.
Logged

~Tom~

UK
Offline Offline
God Member
*****
Karma: 1
Posts: 530
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah, that makes perfect sense now - and the same for 'udbyte'. Cheers!
Logged

Leeds, UK
Offline Offline
Edison Member
*
Karma: 78
Posts: 1720
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've never come across udbyte before, but I am guessing it will be the same as:

UWORD = Unsigned Word = 2bytes integer = 'unsigned int' in arduino.
Logged

~Tom~

Pages: [1]   Go Up
Jump to: