Categories
Learn and make

Serial Plotter

My first try to make useful GUI application a Arduino Serial Plotter Simple serial plotter for Arduino and other devices to quickly visualize generated data. GUI is made in Python3 + Qt5 . Much work remains to be done. But this is a good start. https://github.com/taunoe/tauno-serial-plotter

Categories
Learn and make

C vs. C++: Bubble sort

I have identical bubble sort algorithm in C and C++. Same data and same computer. Experiment shows that C is twice as slow as C ++. In C it takes 124 processor clicks or 0.000124 sec. In C++ it takes 66 processor clicks or 0.000066 sec. C Bubble sort code: C++ Bubble sort code: https://github.com/taunoe/cpp-examples/tree/master/Sorting-algorithms/Bubble-sort