Go Down

Topic: C# Datagridview  (Read 121 times) previous topic - next topic


Mar 23, 2019, 12:30 am Last Edit: Mar 24, 2019, 03:42 pm by ArduinoPlus
I'm trying to show 12 values from the Arduino. I want these values to come back as soon as I press  buttons.   I want to see 3 data on each button. I wrote code for that. But sometimes the values are very good and sometimes the sensor values are jumping. For example, pot value should be 640, jumps to right column, value 0.


? Wrong forum ?
You might do better on a VB.NET site.
Experienced responders have a nose for laziness, (they were beginners once)... Sure, there are trolls, chest-beaters, and pretenders - but the help you'll get here is about as good as it gets - if you try to help youself!.


The OP's problem is that he has no clue how serial communication works between the PC and the Arduino.
He's trying to walk before he can crawl.

Unfortunately, in the MSDN C# forum, there are not many people who write programs with serial communication so his question will remain unanswered.



How do you know when you've received the entire serial message?
Hackaday: https://hackaday.io/MarkRD
Advanced C++ Techniques: https://forum.arduino.cc/index.php?topic=493075.0


I'm putting all the data on a label. I'm already reading the data in pieces with Read.Existing.
It's very annoying to make a jump when you switch between the buttons.  As you say, maybe it makes more sense to write to other platforms.  :(

Go Up