Welcome to World of Module Sensor Kit repository
1.Introduction of module

Rocker module can be regarded as a potentiometer with two channels, which can output the X-axis and Y-axis analog values. The X and Y values of the initial output are 512. Because of the difference between each rocker, the initialization value may be a little different. The value of the rocker module will increases from the left to the right of the X axis, and the value of the rocker module will decreases from the down to the up of the Y axis. X axis and Y axis output analog value range: 0 ~ 1023.
Near the terminal port is the down direction of the Y direction. Using this as a standard to distinguish the X direction and the Y direction. For example, when the X-axis direction moves to the left, the output X value will become smaller; when the X-axis direction moves to the right, the output X value will become larger. When the Y-axis direction moves to the up, the output Y value will become larger; when the Y-axis direction moves to the down, the output Y value will become smaller.