Update README_AP_HAL.md

formatting
This commit is contained in:
Pat Hickey 2012-09-13 09:05:09 -07:00 committed by Andrew Tridgell
parent bb8526190b
commit 9a653a1a75

View File

@ -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