You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
236 B

#include <AP_HAL.h>
#include <AP_HAL_AVR.h>
const AP_HAL::HAL& hal1 = AP_HAL_AVR_APM1;
const AP_HAL::HAL& hal2 = AP_HAL_AVR_APM2;
void loop (void) {
}
void setup (void) {
hal1.uart0->init(9600);
hal2.uart0->init(9600);
}