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.

serial communication

Status
Not open for further replies.

anasfuad33eng

Member level 1
Member level 1
Joined
Mar 21, 2013
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,498
hi,all i have matrix that contain 10 elements such as:
2
4
77
33
etc,i want to send them to serial port with delay 4 second between them in such away i send 2 after 4 second i send 4 after another 4 second i send 77.how i can do this plzzzz help,suggest,give ideas

thanks in advance
 

From where you want to send this data?
from a microcontroller ---> to another device (such as a PC) or from another device --> to a uC?

if you are sending from a uC, the simplest method is:
- run a for loop for 10 times
- just using a delay of 4 between to serial write commands...

even if you use another device (such as a PC), use a for loop in the software and use a delay of the time you require in between the serial write commands

cheers,
per_lube
 

If you are sending the data from PC to MCU then you have to put delays in your PC side software and if you are sending data from MCU to PC or other device then you have to use timer interrupt in your code to generate the delay.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top