Code Examples
This pages provides links to some codes written by users or the firmware author, which may serve as examples.
Serial Communication
C
A relatively general C library for handling Serial RC commands is available here:
Arduino Sketches
User Sitas has posted an example sketch for Arduino using Serial RC command messages here:
User digaus has posted an example sketch for Arduino using MAVLink messages here:
- https://www.rcgroups.com/forums/showpost.php?p=39747588&postcount=11025
- (old version: http://www.rcgroups.com/forums/showpost.php?p=34912538&postcount=8213)
Python
A basic Python library for handling Serial RC commands is available here:
User Brandon12 has posted a quite extensive Python script using Serial RC commands here:
- (07/19/2018)
- Version 1.0: https://www.rcgroups.com/forums/showpost.php?p=39960758&postcount=11106
NT Camera
Arduino Sketches
User maciek252 has posted a working sketch for Arduino for controlling a Sony Nex with an IR Led. The Arduino is connected to a serial interface and can be used with the “CAMRemote UART” (recommended) or “Serial Api” camera models:
User maciek252 has also posted a working sketch for Arduino to control a GoPro Hero camera via BLE (i.e, not wifi!):
ESP32 for GoPro Hero
Arduino sketches and C files (and other relevant material) for operating a GoPro Hero camera via wifi using an ESP32 are vailable here: