mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
fixed issue #34 from issues list regarding incredibly minor issue in keywords.txt. Also fixed a spelling mistake and removed the "n" from Jordi's name that causes Arduino IDE to complain about non-standard characters.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@529 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
6fa92cc299
commit
241fd41289
@ -1,12 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
Example of GPS IMU library.
|
Example of GPS IMU library.
|
||||||
Code by Jordi MuÔøΩoz, Jose Julio and, Jason Short . DIYDrones.com
|
Code by Jordi Munoz, Jose Julio and, Jason Short . DIYDrones.com
|
||||||
|
|
||||||
Works with Ardupilot Mega Hardware (GPS on Serial Port1)
|
Works with Ardupilot Mega Hardware (GPS on Serial Port1)
|
||||||
and with standard ATMega168 and ATMega328 on Serial Port 0
|
and with standard ATMega168 and ATMega328 on Serial Port 0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <GPS_IMU.h> // UBLOX GPS Library
|
#include <GPS_IMU.h> // GPS Library
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
@ -38,7 +38,7 @@ void loop()
|
|||||||
Serial.print(" TIM:");
|
Serial.print(" TIM:");
|
||||||
Serial.print(GPS.Time);
|
Serial.print(GPS.Time);
|
||||||
Serial.println();
|
Serial.println();
|
||||||
GPS.NewData = 0; // We have readed the data
|
GPS.NewData = 0; // We have read the data
|
||||||
}
|
}
|
||||||
delay(20);
|
delay(20);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
GPS KEYWORD1
|
GPS KEYWORD1
|
||||||
GPS_UBLOX KEYWORD1
|
GPS_IMU KEYWORD1
|
||||||
Init KEYWORD2
|
Init KEYWORD2
|
||||||
Read KEYWORD2
|
Read KEYWORD2
|
||||||
Time KEYWORD2
|
Time KEYWORD2
|
||||||
|
Loading…
Reference in New Issue
Block a user