-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.ino
34 lines (26 loc) · 1.41 KB
/
debug.ino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
skyData - markab
FrSky telemetry data module for Naza and TBS frame sensors
Created based on ideas from the following projects...
https://code.google.com/p/nazatofrsky/
https://code.google.com/p/bagaosd/
https://code.google.com/p/openxvario/
*/
// ************************************************************************************
// PRINT DEBUG
// ************************************************************************************
void Print_Debug(void) {
if(((millis() - timer_debug) > RATE_DEBUG) && ENABLE_DEBUG) {
timer_debug = millis();
ConsoleSerial.print("sat fix : "); ConsoleSerial.println(data_gps_fix_type);
ConsoleSerial.print("sat count : "); ConsoleSerial.println(data_gps_sat_count);
ConsoleSerial.print("climb : "); ConsoleSerial.println(data_gps_vario);
ConsoleSerial.print("current : "); ConsoleSerial.println(data_curr);
ConsoleSerial.print("voltage : "); ConsoleSerial.println(data_vfas);
ConsoleSerial.print("lat : "); ConsoleSerial.println(data_gps_lati);
ConsoleSerial.print("long : "); ConsoleSerial.println(data_gps_long);
ConsoleSerial.print("gps alt : "); ConsoleSerial.println(data_gps_alt);
ConsoleSerial.print("gps speed : "); ConsoleSerial.println(data_gps_speed);
ConsoleSerial.print("gps cours : "); ConsoleSerial.println(data_gps_cours);
}
}