code to send data array serially to microcontroller?

Status
Not open for further replies.

zamanmalik

Junior Member level 2
Joined
Jun 18, 2008
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
code to send data array serially to microcontroller?
 

what type of microcontroller?
which serial? Rs232, SPI or i2c?
 

Most devices allow you to simply send the data in bytes to serial port. What device are you trying to send the data from / to ?
 

for(j=0; j<=9; j++)
{
var = data[j];
USART_Write(var);
delay_ms(50);
}


sends array serially to other microcontroller
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…