forked from olikraus/m2tklib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
353 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
config.h | ||
Configuration file for the GPS tracker device. | ||
m2tklib - Mini Interative Interface Toolkit Library | ||
u8glib - Universal 8bit Graphics Library | ||
Copyright (C) 2013 [email protected] | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#ifndef _CONFIG_H | ||
#define _CONFIG_H | ||
|
||
/* | ||
Define the following variable to enable monitoring of battery voltage. | ||
ADC2 at R_PIO1_1 will be used for monitoring. | ||
This will also enable the battery symbol in the upper left of the display and | ||
the battery submenu. | ||
*/ | ||
//#define USE_BATTERY_ADC | ||
|
||
|
||
/* | ||
Select transmit speed of the connected GPS module. | ||
If the following macro is defined, use 4800 Baud. | ||
If the following macro is not defined, use 9600 Baud | ||
*/ | ||
#define USE_GPS_4800BAUD | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/* | ||
Fontname: -Adobe-Helvetica-Bold-R-Normal--11-80-100-100-P-60-ISO10646-1 | ||
Copyright: Copyright (c) 1984, 1987 Adobe Systems Incorporated. All Rights Reserved. Copyright (c) 1988, 1991 Digital Equipment Corporation. All Rights Reserved. | ||
Capital A Height: 8, '1' Height: 8 | ||
Calculated Max Values w=10 h=10 x= 1 y= 7 dx=11 dy= 0 ascent= 9 len=18 | ||
Font Bounding box w=12 h=19 x=-1 y=-5 | ||
Calculated Min Values x=-1 y=-2 dx= 0 dy= 0 | ||
Pure Font ascent = 8 descent=-2 | ||
X Font ascent = 8 descent=-2 | ||
Max Font ascent = 9 descent=-2 | ||
*/ | ||
#include "u8g.h" | ||
const u8g_fntpgm_uint8_t helvB08_gps[1295] U8G_FONT_SECTION("helvB08_gps") = { | ||
0,12,19,255,251,8,1,182,3,122,32,127,254,9,254,8, | ||
254,0,0,0,3,0,1,2,8,8,4,1,0,192,192,192, | ||
192,128,128,0,192,3,3,3,5,1,5,160,160,160,7,7, | ||
7,6,255,0,40,40,126,40,252,80,80,5,10,10,6,0, | ||
255,32,112,168,224,112,56,40,168,112,32,7,8,8,8,0, | ||
0,98,180,104,16,16,44,86,140,7,8,8,8,0,0,112, | ||
216,216,112,222,204,220,118,1,3,3,3,1,5,128,128,128, | ||
3,10,10,4,0,254,32,96,64,192,192,192,192,64,96,32, | ||
3,10,10,4,0,254,128,192,64,96,96,96,96,64,192,128, | ||
3,3,3,4,0,5,160,64,160,6,5,5,6,0,1,48, | ||
48,252,48,48,2,4,4,3,0,254,192,192,64,128,4,1, | ||
1,5,0,3,240,2,2,2,3,0,0,192,192,4,8,8, | ||
4,0,0,16,16,32,32,64,64,128,128,5,8,8,6,0, | ||
0,112,216,216,216,216,216,216,112,3,8,8,6,1,0,96, | ||
224,96,96,96,96,96,96,5,8,8,6,0,0,112,216,24, | ||
24,48,96,192,248,5,8,8,6,0,0,112,216,24,48,24, | ||
24,216,112,6,8,8,6,0,0,8,24,56,88,152,252,24, | ||
24,5,8,8,6,0,0,248,192,192,240,24,152,216,112,5, | ||
8,8,6,0,0,112,216,192,240,216,216,216,112,5,8,8, | ||
6,0,0,248,24,24,48,48,96,96,96,5,8,8,6,0, | ||
0,112,216,216,112,216,216,216,112,5,8,8,6,0,0,112, | ||
216,216,216,120,24,216,112,2,6,6,3,0,0,192,192,0, | ||
0,192,192,2,8,8,3,0,254,192,192,0,0,192,192,64, | ||
128,4,5,5,5,0,1,48,96,192,96,48,5,3,3,6, | ||
0,2,248,0,248,4,5,5,5,0,1,192,96,48,96,192, | ||
5,8,8,6,0,0,112,216,24,48,96,96,0,96,10,9, | ||
18,11,0,255,31,0,96,128,77,64,146,64,162,64,164,128, | ||
155,0,64,0,62,0,7,8,8,8,0,0,56,56,108,108, | ||
108,254,198,198,6,8,8,7,0,0,248,204,204,248,204,204, | ||
204,248,7,8,8,8,0,0,60,102,194,192,192,194,102,60, | ||
6,8,8,7,0,0,240,216,204,204,204,204,216,240,5,8, | ||
8,6,0,0,248,192,192,248,192,192,192,248,5,8,8,6, | ||
0,0,248,192,192,240,192,192,192,192,7,8,8,8,0,0, | ||
60,102,194,192,206,198,102,58,6,8,8,7,0,0,204,204, | ||
204,252,204,204,204,204,2,8,8,3,0,0,192,192,192,192, | ||
192,192,192,192,5,8,8,6,0,0,24,24,24,24,24,24, | ||
216,112,7,8,8,7,0,0,204,216,240,224,240,216,204,198, | ||
5,8,8,6,0,0,192,192,192,192,192,192,192,248,9,8, | ||
16,10,0,0,193,128,227,128,227,128,247,128,213,128,221,128, | ||
201,128,201,128,7,8,8,8,0,0,198,230,230,214,214,206, | ||
206,198,7,8,8,8,0,0,56,108,198,198,198,198,108,56, | ||
6,8,8,7,0,0,248,204,204,204,248,192,192,192,7,9, | ||
9,8,0,255,56,108,198,198,198,214,108,60,2,6,8,8, | ||
7,0,0,248,204,204,204,248,204,204,204,6,8,8,7,0, | ||
0,120,204,224,120,28,140,204,120,6,8,8,7,0,0,252, | ||
48,48,48,48,48,48,48,6,8,8,7,0,0,204,204,204, | ||
204,204,204,204,120,7,8,8,8,0,0,198,198,108,108,108, | ||
56,56,16,10,8,16,11,0,0,204,192,204,192,204,192,109, | ||
128,109,128,127,128,51,0,51,0,7,8,8,8,0,0,198, | ||
198,108,56,56,108,198,198,8,8,8,9,0,0,195,195,102, | ||
102,60,24,24,24,6,8,8,7,0,0,252,12,24,48,112, | ||
96,192,252,3,10,10,4,0,254,224,192,192,192,192,192,192, | ||
192,192,224,4,8,8,4,0,0,128,128,64,64,32,32,16, | ||
16,3,10,10,4,0,254,224,96,96,96,96,96,96,96,96, | ||
224,4,4,4,5,0,4,96,240,144,144,6,1,1,6,0, | ||
254,252,2,2,2,3,0,7,128,64,6,6,6,6,0,0, | ||
112,152,120,216,216,108,5,8,8,6,0,0,192,192,240,216, | ||
216,216,216,240,4,6,6,5,0,0,112,208,192,192,208,112, | ||
5,8,8,6,0,0,24,24,120,216,216,216,216,120,5,6, | ||
6,6,0,0,112,216,248,192,216,112,5,8,8,4,255,0, | ||
56,96,240,96,96,96,96,96,5,8,8,6,0,254,104,216, | ||
216,216,216,120,24,112,5,8,8,6,0,0,192,192,240,216, | ||
216,216,216,216,2,8,8,3,0,0,192,0,192,192,192,192, | ||
192,192,3,10,10,3,255,254,96,0,96,96,96,96,96,96, | ||
96,192,6,8,8,6,0,0,192,192,216,240,224,240,216,204, | ||
2,8,8,3,0,0,192,192,192,192,192,192,192,192,8,6, | ||
6,9,0,0,182,219,219,219,219,219,5,6,6,6,0,0, | ||
176,216,216,216,216,216,5,6,6,6,0,0,112,216,216,216, | ||
216,112,5,8,8,6,0,254,176,216,216,216,216,240,192,192, | ||
5,8,8,6,0,254,104,216,216,216,216,120,24,24,4,6, | ||
6,4,0,0,176,224,192,192,192,192,5,6,6,6,0,0, | ||
112,216,112,24,216,112,4,8,8,4,255,0,96,96,240,96, | ||
96,96,96,48,5,6,6,6,0,0,216,216,216,216,216,104, | ||
5,6,6,6,0,0,216,216,216,80,112,32,7,6,6,8, | ||
0,0,214,214,214,108,108,108,6,6,6,7,0,0,204,120, | ||
48,120,204,204,5,8,8,6,0,254,216,216,216,216,120,48, | ||
48,96,5,6,6,6,0,0,248,24,48,96,192,248,4,10, | ||
10,5,0,254,48,96,96,96,192,96,96,96,96,48,1,10, | ||
10,3,1,254,128,128,128,128,128,128,128,128,128,128,4,10, | ||
10,5,0,254,192,96,96,96,48,96,96,96,96,192,5,2, | ||
2,6,0,3,104,176,3,3,3,4,0,5,224,160,224}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.