Hi,
I need some help.
I want make my cat tracker using GPS and SIM 800 L
From tinygpsplus: gps.location.lat() give me 44.75704
When I do:
double lat;
lat = gps.location.lat()
I get : 44.76 instead of 44.75704
What I have to do ,
Thank you
Salutations
Search found 3 matches
- Tue Jan 03, 2017 1:20 pm
- Forum: ESP32 Arduino
- Topic: double to double assignement
- Replies: 0
- Views: 3572
- Thu Dec 29, 2016 7:23 pm
- Forum: ESP32 Arduino
- Topic: ESP32 + GPS VKEL
- Replies: 0
- Views: 6441
ESP32 + GPS VKEL
/***************************************** * ESP32 GPS VKEL 9600 Bds ******************************************/ #include <TinyGPS++.h> TinyGPSPlus gps; HardwareSerial Serial1(1); void setup() { Serial.begin(115200); Serial1.begin(9600, SERIAL_8N1, 17, 16); } void loop() { Serial.print("Latitude : ...
- Mon Dec 12, 2016 7:23 pm
- Forum: ESP32 Arduino
- Topic: I2C test ADS115
- Replies: 1
- Views: 5728
I2C test ADS115
Just a test : ESP 32 .. ADS1115 #include <Wire.h> #include <Adafruit_ADS1015.h> Adafruit_ADS1115 adc(0x48); void setup(void) { Serial.begin(115200); adc.begin(); } void loop(void) { float Voltage = 0.0; int16_t adc0; adc0 = adc.readADC_SingleEnded(0); Voltage = (adc0 * 0.1875)/1000; Serial.print("AN...