Arduino related stuff
Implements a function to move a servo on a defined angle range using a custom scale
int move_servo(Servo servo,float min_angle,float max_angle, float min_val, float max_val, float value, bool reverse)
- servo: a Servo instance (see Servo.h)
- min_angle: minimum servo angle
- max_angle: maximum servo angle
- min_val: minimum value on the custom scale
- max_val: maximum value on the custom scale
- value: value on the custom scale to move the servo to
- reverse: reverse movement
Display a distance detected with SR04 sonar on a TM1637 display.
Calculate a median from an array of values in Arduino.
Write and read values from Arduino eeprom.