Uploading Arduino sketches from Windows PC using ArduinoCC software, to Arduino Uno and Mega works fine.
However, trying to do the same from a Raspberry Pi with Platformio results in an upload error:
‘stk500_recv() programmer not responding’. So sketch is not uploading. The is a very quick blink on the Tx led on the arduinos, every time (10 intents) uploading is tried by platformio. so some connection is made.
Port was checked and is /dev/ttyACM0, both when trying to upload sketch (port selection automatic) as when using serial monitor. Python version is 2.7.9.
(much info on internet about this error, but no solutions found)