Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 21194

BASCOM-AVR : how to assembled a three bye array in one data type : REPLY

$
0
0
Ok Aliahmad When you load the three R_data bytes they go into Ade7753 and will be put together so make this change and observe what you see in Ade7753 by Lcd bin(Ade7753) this will show you the bits. Then we will get on to converting , then negative values needs some manipulation as we do not read 32 bits. Regards Paul [code:1:94a916bc15] Dim Ade7753 as long 'This is 32 bits or four bytes Dim R_data(4) as byte at Ade7753 Overlay 'These four bytes are the four bytes of Ade7753 Ade7753 = 0 'zero the bits before loading the data [/code:1:94a916bc15]

Viewing all articles
Browse latest Browse all 21194

Trending Articles