Hot answers tagged

2 votes

Reading serial data from Arduino in Python continually

I am puzzled why the Arduino code isn't simply stopping at "Serial.availableForWrite()" when I stop reading data on the Python side -- it keeps on running. This depends on the Arduino board ...
chrisl's user avatar
  • 15.8k
1 vote

Clear serial data for new incoming values

The error lays in your algorithm to collect the command. Your sketch uses the space character ' ' as the separator between incoming messages. After the first transmission of "voltage 100", ...
the busybee's user avatar
  • 1,828
1 vote

Why can't I upload a sketch by connecting directly to the serial pins?

OK this was a combination of at least two things: Main problem: connecting the fake arduino's RST pin to the FTDI's DTR pin via a 0.1uF capacitor seems to stop it from uploading, when when you ...
Alex028502's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible