vvarlord
Member level 4
- Joined
- Mar 15, 2012
- Messages
- 74
- Helped
- 4
- Reputation
- 8
- Reaction score
- 3
- Trophy points
- 1,288
- Activity points
- 1,756
i'm trying to send and recieve data over an serial protocol between micro and computer
i recieved data in micro successfully,but the problem is when i write a program to send data to computer
i use matlab for sending and recieving thorough rs232 & use codevisionavr to programg the micro
after i set the baud rate and com number and opened the port,, i use scanf(//serial port name),,,, but instead of getting what's inteded i get this error: a timeout occured before the terminator was reached.
it will be appreciated if can anyone help.
i recieved data in micro successfully,but the problem is when i write a program to send data to computer
i use matlab for sending and recieving thorough rs232 & use codevisionavr to programg the micro
after i set the baud rate and com number and opened the port,, i use scanf(//serial port name),,,, but instead of getting what's inteded i get this error: a timeout occured before the terminator was reached.
it will be appreciated if can anyone help.