Code Examples: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
== Serial Communication == | == Serial Communication == | ||
=== C === | |||
A relatively general C library for handling Serial RC commands is available here: | A relatively general C library for handling Serial RC commands is available here: | ||
: https://github.com/olliw42/storm32bgc/tree/master/c-library | : https://github.com/olliw42/storm32bgc/tree/master/c-library | ||
=== Arduino Sketches === | |||
User Sitas has posted an example sketch for Arduino using Serial RC command messages here: | User Sitas has posted an example sketch for Arduino using Serial RC command messages here: | ||
Line 19: | Line 19: | ||
: (old version: http://www.rcgroups.com/forums/showpost.php?p=34912538&postcount=8213) | : (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: | A basic Python library for handling Serial RC commands is available here: |
Revision as of 05:53, 21 August 2021
This pages provides links to some codes written by users, 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:
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: