Hello guys, need help with Leonardo's serial communication. I made a windows forms GUI application to read Arduino's serial data of 3 load cell sensors.
Everything works fine when using atmega328 based Arduinos, the GUI reads serial data without any problems, but when I use Leonardo or Pro micro (which are based on atmega32u4 microprocessors) I get some problems.
So, using nano with my GUI application works fine, my app opens appropriate COM PORT, reads and displays data with no problems. However, when I switched to Leonardo, the GUI app was not able to read the serial data. when I open Leonardo's port in my app, nothing happens, no error messages, no data, nothing. Leonardo's Rx and Tx LEDs blink only just for ONCE. Tx LED blinks continuously only when I open serial monitor, or TeraTerm, or any other software for reading the serial data.
When I use Arduino nano for example, Tx LED blinks all the time, does not matter if the serial monitor is open or not. Which means that the nano is transmitting data continuously ALWAYS.
Based on this info, question is next: does Leonardo need a different way of opening port and communicating?
To get an idea, my app is based on this video: https://www.youtube.com/watch?v=JsPpy6lVjIo
Sorry if some things are unclear, feel free to ask me any question about the project.
P.s I cannot use nano or uno for this project since they aren't capable of acting as HID devices. I have to use Leonardo or Pro micro, since my project is simply a 3 axis joystick.