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

BASCOM-AVR : Inserting bytes into a word : NEWTOPIC

$
0
0
I know i should probably know the answer to this, but its been awhile since I had done it. I do know you can break a word down into two bytes by using Low() and High(). But what about the other way around? I have a byte array and I need to insert bytes at location 5, and 6 into a word variable. as bytes(5) and bytes(6) make up the low/high of a word. thanks. [b:3fa98178e2][color=red:3fa98178e2](BASCOM-AVR version : 2.0.7.8 )[/b:3fa98178e2][/color:3fa98178e2]

Viewing all articles
Browse latest Browse all 20688

Trending Articles