Skip to main content

Debug Console Usage

The debug console may be accessed from the USB port when plugged into a PC or supported device.

DEBUG Mode Enable

  • Press the Coil Enable button 3 time fast
  • If successful, a "DEBUG" icon will appear on the top-right of the screen

Required Resources

  • Supported Interface Device (PC)
    • Windows 7 or above, MAC, or Linux
  • VSCode installed
  • PlatformIO extention installed for VSCode
  • AerPID3 source code cloned locally
  • USB Driver for FTDI FT231X
    • Installed as Virtual COM Port
  • USB Cable connected between device and computer

Serial Console Monitor

NOTE

DEBUG mode is not required for the Serial monitor.

  • Open the AerPID3 project using VSCode.
    • PlatformIO will automattically download and install all requried resources
    • Please wait for the project to initialize
  • On the LEFT side of your VSCode window, Click the Ant icon. PlatformIO
  • Under PROJECT TASKS, expand the aerpid section
  • Navigate to and expand General section
  • To attach the monitor, Click "Monitor" under the General section
  • The Monitor should attach if the COM port is found
  • To detach the monitor, press CTRL+C when the console is selected

Example

When Attached, your VSCode window might look something like this: Alt text