APM_RC: fixed APM1 example sketch

This commit is contained in:
Andrew Tridgell 2012-11-22 15:42:27 +11:00
parent a8edc27849
commit 9317cb6925

View File

@ -6,9 +6,12 @@
* (Works with last PPM_encoder firmware)
*/
#include <FastSerial.h>
#include <Arduino_Mega_ISR_Registry.h>
#include <APM_RC.h> // ArduPilot Mega RC Library
FastSerialPort0(Serial);
Arduino_Mega_ISR_Registry isr_registry;
APM_RC_APM1 APM_RC;