Jul 1, 2008 #1 Z 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?
Jul 3, 2008 #2 C cristi7521 Member level 2 Joined Nov 14, 2005 Messages 50 Helped 5 Reputation 10 Reaction score 0 Trophy points 1,286 Activity points 1,529 what type of microcontroller? which serial? Rs232, SPI or i2c?
Jul 3, 2008 #3 D davidgrm Full Member level 4 Joined Apr 8, 2006 Messages 233 Helped 31 Reputation 62 Reaction score 10 Trophy points 1,298 Activity points 2,727 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 ?
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 ?
Jul 4, 2008 #4 J jit_singh_tara Full Member level 6 Joined Dec 22, 2006 Messages 325 Helped 9 Reputation 18 Reaction score 4 Trophy points 1,298 Location Delhi , India Activity points 4,293 for(j=0; j<=9; j++) { var = data[j]; USART_Write(var); delay_ms(50); } sends array serially to other microcontroller
for(j=0; j<=9; j++) { var = data[j]; USART_Write(var); delay_ms(50); } sends array serially to other microcontroller