Arduino Mega 2560 Test Example

Pot value:
Heading:
Button: