New answers tagged

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,810
0 votes

Clear serial data for new incoming values

It is difficult to help with out knowing exactly what characters are being sent and why. If we assume this is what is being sent: "voltage 24\n" "voltage 24\n" "voltage 55\n&...
st2000's user avatar
  • 7,255

Top 50 recent answers are included