Tilt Module sw-520d
Module code address：rvboards/d1_demo: The demo projects for Allwinner D1 SBC (github.com)
How to run the code (requires sudo privileges)：
The module needs to be connected using a duplex cable.
The physical diagram of the connection is shown below, see the schematic for details.