This Sketch implements a PPM-Encoder which would be controlled by serial commands - please refer to the header file protocol.h for more details on the communication.
This is also the Sketch you would have to upload to your Arduino to run the Joystick2PPM4Arduino - App.
For more information please refer to https://www.makerprojekte.de.