Customer project: Simple Arduino code, used timer library TimerOne.h
The brightness of the two incandescent lamps is controlled with a dimmer connected to RobotDyn Mega (aka Arduino Mega). Brightness is controlled by buttons and a potentiometer. The output voltage for the button-controlled lamp is displayed on the multimeter. The output voltage for the pot-controlled lamp is displayed on the oscilloscope.
If you Linux user this instruction help to you, for upload Arduino sketch to SAMD21 M0 boards