Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top