J
Hi !
I want to send HPGL commands to COM1 in order to drive a plotter.
I made this :
FILE *fp;
fp = fopen("COM1","w");
fprintf(fp,"IN;");
(I made a function Init_COM1() which is working)
and the computer return me a message like "error of writing on COM1".
Can I do that ?
Just the pins RxD, TxD and the Ground are used ?
Maybe I must send all commands character by character ?
Thanks for Helping.
NB : I'm french and I hope that my english isn't bad.
I want to send HPGL commands to COM1 in order to drive a plotter.
I made this :
FILE *fp;
fp = fopen("COM1","w");
fprintf(fp,"IN;");
(I made a function Init_COM1() which is working)
and the computer return me a message like "error of writing on COM1".
Can I do that ?
Just the pins RxD, TxD and the Ground are used ?
Maybe I must send all commands character by character ?
Thanks for Helping.
NB : I'm french and I hope that my english isn't bad.