PDA

View Full Version : Sending information to pc via microcontroller...



bug
01-29-2006, 12:02 PM
hii...i'm facing problems regarding the code...i neeed to send one array...to the pc....create a file on the pc to create graphical reperesntation of my path...

problem statment is ...we have to traverse in a grid...of lines..there would be walls in between and we have to find as many as wall on the grid an then we have to connect our microcontroller to the pc ...transfer data to pc and pc has to generate graphical view of arena..locating walls at appropriate position....

i have created graphical code also but it requires information from microcontroller that part i'm stucjk up with...

site of the problem is...(GRID in robotics)

www.mindbend.in

rao
01-29-2006, 01:03 PM
My answer is UART.. keep the computer checking the serial port for regular intervals.. as soon as a connection is established send your data, keep the size fixed for the array, as soon as the array is full make another one. try that.

Rao