arkadiusz binder d03c5cfe4f lib 5 years ago
..
examples d03c5cfe4f lib 5 years ago
src d03c5cfe4f lib 5 years ago
LICENSE d03c5cfe4f lib 5 years ago
MobaTools-09 -en.pdf d03c5cfe4f lib 5 years ago
MobaTools-09.pdf d03c5cfe4f lib 5 years ago
README.md d03c5cfe4f lib 5 years ago
keywords.txt d03c5cfe4f lib 5 years ago
library.properties d03c5cfe4f lib 5 years ago

README.md

MobaTools

Arduino library for model railroaders ( and maybe for others too ;)

It contains 4 classes:

Servo8: Can control up to 16 servos. Compatible with arduino servo lib, but allows to control the speed of the servo.

Stepper4: A class to control unipolar stepper motors. The arduino sketch is not blocked while the stepper is moving. After setting a reference point, the stepper can be positioned absolutely just like a servo. But without the angle limitation of 0--180 degrees.

Softled: Allows easy softon / softoff of leds. It works on all digital outputs.

Eggtimer: Allows easy nonblocking timedelays in sketches.

The library uses Timer1 for all classes. V1.0: from this version on, timer 3 is used instead of timer 1 if available.

There is no special function that has to be called in the loop frequently. You can even use the delay() function in the loop while servos and steppers are moving.