In this example we use MegunoLink’s Interface Panel visualiser to create a user interface (UI) which controls a servo. The UI uses a trackbar set to send a message to the Arduino each time the value is changed. The Arduino, using our Command Handler, processes the message and extracts out the value sent which it uses to set the position of the servo.

Interface Panel Servo Controller

Downloads

This example is available as part of our Arduino Library but you can also download the MegunoLink interface and Arduino program here.

Start typing and press Enter to search