Reciving 32 bytes of data

Status
Not open for further replies.

cool.man

Full Member level 6
Joined
May 29, 2008
Messages
323
Helped
42
Reputation
84
Reaction score
29
Trophy points
1,308
Location
Earth
Activity points
3,307
32 bytes of data

Hi Everyone,
I want to recive 32 bytes of data and break this 32 bytes of data into 32 * 1 byte and store it into 32 variables.
Can anyone tell me how can i do that?
I am using PIC16f628A and CCS Compiler(4.020).
Thankx
 

Hi!,

How are you receiving it? Bit by bit or as bytes? Decalre an array and store the bytes in it as it arrives. Increment the array and store the next byte..
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…