portmonitor/main.cpp
See also
PropellerSession

Here is an example of how to enable the port monitor in an application.

First, we implement a class to listen to the port monitor.

Then initialize the class and run.