Go Down

Topic: usb communication with c++ (Read 2 times) previous topic - next topic

naeemuzz

i use g++ compiler...i compiled through terminal...lemme try about what you told...


naeemuzz

i programmed cpp file as when it gets input "1",it shows output from uno,still the program stopes  in 2 sec.. :(

Erdin

I tried to make a program in C++.
But it is not reading /dev/ttyACM0. I get a lot of EOF, and nothing else.

naeemuzz


Erdin

I'm sorry, but I don't know.  :~
I wanted to test the communication, but somehow I am not receiving anything with my c++ program.
I have not made a c++ program on the PC for the serial port before.
Normal programs like gtkterm can communicate without problem.

Go Up