Go Down

Topic: USB Leonardo problem (Read 732 times) previous topic - next topic


Hi ti everyone:

I used to communicate Arduino and Linux embedded system by USB and ever was well.
Now with Leonardo I have a problem.
I can send from my Linux system using
echo text > /dev/ttyUSB0
but the Leonardo don't answer- I have tried this loop
void loop() {
    int sensorReading = analogRead(A0);

But I can show that the tx led is off. Leonardo is not sending values, I know that works fine, because works with the Arduino IDE but how could I start the sending on Leonardo?

I can't understand that



I have tried this loop

But what is it setup()?
The art of getting good answers lies in asking good questions.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131