|
ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
1.0
ESP8266ILI9341DisplayProject
|
Convert Earth wireframe in Lon, Lat pairs into X,Y,Z integer fixed point Each group (a set of Lon, Lat pairs) is separated by one or more blank lines, # are comments and ignored. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <time.h>#include <unistd.h>#include <libgen.h>#include "../wire/wire_types.h"#include "../cordic/cordic2c_inc.h"#include "../cordic/cordic.h"Go to the source code of this file.
Macros | |
| #define | TEST |
| #define | MEMSPACE |
Typedefs | |
| typedef unsigned char | uint8_t |
| typedef signed char | int8_t |
| typedef unsigned short | uint16_t |
| typedef unsigned int | uint32_t |
| typedef int | int32_t |
Functions | |
| double | deg2rad (double deg) |
| Convert of Radians. More... | |
| char * | get_date () |
| Get the current date in a string. More... | |
| int | main (int argc, char *argv[]) |
| Convert earth wireframe data to C structure Usage: s -f source -o result ",argv[0]); -f source is the lot,lat dataset pairs -o result is the con=verted file into CORDIC fixed point format. More... | |
Convert Earth wireframe in Lon, Lat pairs into X,Y,Z integer fixed point Each group (a set of Lon, Lat pairs) is separated by one or more blank lines, # are comments and ignored.
This 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 software 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/.
Definition in file earth2wireframe.c.
| #define MEMSPACE |
Definition at line 45 of file earth2wireframe.c.
| #define TEST |
Definition at line 38 of file earth2wireframe.c.
| typedef int int32_t |
Definition at line 43 of file earth2wireframe.c.
| typedef signed char int8_t |
Definition at line 40 of file earth2wireframe.c.
| typedef unsigned short uint16_t |
Definition at line 41 of file earth2wireframe.c.
| typedef unsigned int uint32_t |
Definition at line 42 of file earth2wireframe.c.
| typedef unsigned char uint8_t |
Definition at line 39 of file earth2wireframe.c.
| double deg2rad | ( | double | deg | ) |
Convert of Radians.
Convert Degrees to Rads.
| [in] | deg | degrees |
Definition at line 53 of file earth2wireframe.c.
Referenced by main().
| char* get_date | ( | ) |
Get the current date in a string.
Definition at line 60 of file earth2wireframe.c.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Convert earth wireframe data to C structure Usage: s -f source -o result
",argv[0]); -f source is the lot,lat dataset pairs -o result is the con=verted file into CORDIC fixed point format.
Definition at line 77 of file earth2wireframe.c.
1.8.11