Browse Source

Update README_AP_HAL.md

formatting
mission-4.1.18
Pat Hickey 13 years ago committed by Andrew Tridgell
parent
commit
9a653a1a75
  1. 12
      README_AP_HAL.md

12
README_AP_HAL.md

@ -122,19 +122,17 @@ pinMode, digitalRead, and digitalWrite. @@ -122,19 +122,17 @@ pinMode, digitalRead, and digitalWrite.
When using the coreless Arduino IDE to build for AVR, you will need the
following three libraries included in the top level of your sketch:
```
#include <AP_Common.h>
#include <AP_HAL.h>
#include <AP_HAL_AVR.h>
```
and then declare one of the following hal lines depending on your platform:
```
const AP_HAL::HAL& hal = AP_HAL_AVR_APM1;
```
or
```
or
const AP_HAL::HAL& hal = AP_HAL_AVR_APM2;
```
-----------------------
AP\_HAL Library Contents

Loading…
Cancel
Save