analogPushbuttons.cpp

.cpp of the library.

x-c++src - 2.28 kB - 02/01/2024 at 14:26

Download

analogPushbuttons.h

Library for reading push buttons connected to the analog port. The push buttons must be connected together via R2R-Ladder so that each buttonpress leads to a different voltage. Also suitable for reading a potentiometer that is used as discrete selector.

x-chdr - 1.26 kB - 02/01/2024 at 14:26

Download

TEST__rpm_counter_with_LED_display.ino

Test-program to count the motor RPM. The program counts how often a pin goes from Low to High in 180ms and writes the corresponding RPM value to a LED display.

ino - 1.74 kB - 02/01/2024 at 09:20

Download

TEST__pwm_spindle_control.ino

More complex version of the program "TEST__rpm_counter_with_LED_display.ino ": Here, spindle speed control via PWM is added, and the target speed is read off a pot connected to the analog port.

ino - 4.77 kB - 02/01/2024 at 09:20

Download