Ir al contenido principal

Entradas

Mostrando entradas de enero, 2023

Tomtún V3.3 - CON CODIGO FUENTE

Tras mucho tiempo sin actualizar la web os paso el código fuente, debajo del video.  #include <SoftwareSerial.h>  #include <LiquidCrystal.h>  #include <TinyGPS.h>  #include<stdlib.h>  TinyGPS gps;  // initialize the library with the numbers of the interface pins  LiquidCrystal lcd(12, 11, 5, 4, 3, 2);  SoftwareSerial nss(6, 7);// RX, TX  int botc = 8;  int bota = 9;  int botb = 10;  float flat, flon, falt;  float POS_LAT , POS_LON;  int year;  byte month, day, hour, minutes, second, hundredths;  unsigned long fix_age;  char buf[12];  char buf2[12];  char buf3[7];  byte modo = 0;  float fkmph = 0 ;  byte LIMvel = 50;  float distancia = 0 ;//era int  int dir = 0;  int SWgpsOK = 1;  int pinbuzzer = 13; void setup() {  // set up the LCD's number of columns and rows:  pinMode(13, OUTPUT); // set a pin for buzzer output  lcd.b...