This code is intended to mirror the display on a laptop to a LILYGO AMOLED display
- Install Visual Studio Code and Python
- Search for the
PlatformIOplugin in theVisualStudioCodeextension and install it. - After the installation is complete, you need to restart
VisualStudioCode - After restarting
VisualStudioCode, selectFilein the upper left corner ofVisualStudioCode->Open Folder-> select theLilyGO AMOLED Seriesdirectory - Wait for the installation of third-party dependent libraries to complete
- Click on the
platformio.inifile, and in theplatformiocolumn - Uncomment one of the lines
src_dir = xxxxto make sure only one line works - Click the (✔) symbol in the lower left corner to compile
- Connect the board to the computer USB
- Click (→) to upload firmware
- Click (plug symbol) to monitor serial output
- If it cannot be written, or the USB device keeps flashing, please check the FAQ below
