PaulStoffregen / Encoder

Quadrature Encoder Library for Arduino
http://www.pjrc.com/teensy/td_libs_Encoder.html
561 stars 242 forks source link

Amazing library! Is there an example Windows serial interface anywhere? #86

Open drewhamiltonasdf opened 1 year ago

drewhamiltonasdf commented 1 year ago

This library is absolutely fantastic, and I have used it to successfully print encoder readout to the serial plotter easily at 1kHz. However, implementing a serial interface in c++ in windows that can handle all that data has proved to be more difficult than I had expected. Even with multi-threaded asynchronous serial, I'm having trouble. Just wondering if there is some sample code that might help me get started. I know this is theoretically possible even on my crap laptop, because the Serial Plotter handles the data just fine without overflows, dropped data, etc.

Any help would be greatly, greatly appreciated!