Serial Plotter code

This is my standalone serial plotter. I like to use Arduino, Esp866 etc. and then i started to learn python and decided to make something useful. Something that i will use and what is missing now for me. Although Arduino Ide contains serial plotter. It is little bit different. Written in python 3 and Qt5.Continue reading “Serial Plotter code”

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: