1
0

Add GPS functionality: implement GPS_Init, GPS_Read, and GPS coordinate retrieval; update includes and platform dependencies

This commit is contained in:
PinkyFlowy
2025-04-21 18:47:30 +02:00
parent 42ad7f7ac9
commit 9da30e9e79
7 changed files with 105 additions and 48 deletions

View File

@@ -10,7 +10,7 @@ void MQ7_Read(float &sensorVolt, float &RSAir, float &R0, float &sensorValue)
{
analogWrite(ANALOG_MQ7, 1023);
delay(60000);
analogWrite(ANALOG_MQ7, (1023/5)*1.4 );
analogWrite(ANALOG_MQ7, (1023/5)*1.4);
for(int i = 0; i<100; i++)
{