Hi > well i had simple made a function to read from a file using simple file IO > functions and had taken help of the tut link given in the earlier reply to > open a port but every time i compile that code,got a error message as ERROR > 6 and unable to write on that port. >
Hope you're using the simple system calls. I haven't heard of this error 6. This code is something like what should be used in my opinion:- http://stackoverflow.com/questions/11619664/sending-files-over-serial-port Instead of reading characters from the string, read from the file with basic open, read calls. Regards Gajendra -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
