In order to facilitate rapid secondary development for users, we encapsulate the functions of Alter products in alterMove.py, which can be used directly.
1. Before writing your own program, first import alterMove.py, instantiate it, and start the thread.
import alterMove
alter = alterMove.Alter()
alter.start()
screen = alterMove.OLED()
screen.start()
2. Then you can start calling these APIs and start writing your own programs.
3. The following is a description of the role of some functions: