- Milyen alaplapot vegyek?
- Hisense LCD és LED TV-k
- OLED TV topic
- A karmos/ujjbegyes fogásokkal nyomulók örömére megjött az Arye szénszálas egere
- Melyik tápegységet vegyem?
- Kormányok / autós szimulátorok topikja
- ASUS notebook topic
- Épített vízhűtés (nem kompakt) topic
- AMD K6-III, és minden ami RETRO - Oldschool tuning
- Gaming notebook topik
-
PROHARDVER!
Arduino hardverrel és szoftverrel foglakozó téma. Minden mikrovezérlő ami arduinoval programozható, és minden arduino program, board, és hardverrel kapcsolatos kérdések helye.
Új hozzászólás Aktív témák
-
repvez
addikt
válasz
Janos250 #14329 üzenetére
megtettem, minden változatlan, 9600as baud van beállitva a soros monitorra.
De most azt irja, hogy hiba a vázlat feltöltése közven.
Az ellenörzéskor nem ir hibát.
és a feltöltés is megtörténik, de amikor a serial monitorra kezd irni valamit akkor jon a sárga csik az IDE-be#include "TinyGPS++.h"
#include "SoftwareSerial.h"
SoftwareSerial serial_connection(10, 11); //RX=pin 10, TX=pin 11
TinyGPSPlus gps;//This is the GPS object that will pretty much do all the grunt work with the NMEA data
void setup()
{
Serial.begin(9600);//This opens up communications to the Serial monitor in the Arduino IDE
serial_connection.begin(9600);//This opens up communications to the GPS
Serial.println("GPS Start");//Just show to the monitor that the sketch has started
}
void loop()
{
while(serial_connection.available())//While there are characters to come from the GPS
{
gps.encode(serial_connection.read());//This feeds the serial NMEA data into the library one char at a time
}
if(gps.location.isUpdated())//This will pretty much be fired all the time anyway but will at least reduce it to only after a package of NMEA data comes in
{
//Get the latest info from the gps object which it derived from the data sent by the GPS unit
Serial.println("Satellite Count:");
Serial.println(gps.satellites.value());
Serial.println("Latitude:");
Serial.println(gps.location.lat(), 6);
Serial.println("Longitude:");
Serial.println(gps.location.lng(), 6);
Serial.println("Speed MPH:");
Serial.println(gps.speed.mph());
Serial.println("Altitude Feet:");
Serial.println(gps.altitude.feet());
Serial.println("");
}
}
/*
* $GPRMC,183729,A,3907.356,N,12102.482,W,000.0,360.0,080301,015.5,E*6F
$GPRMB,A,,,,,,,,,,,,V*71
$GPGGA,183730,3907.356,N,12102.482,W,1,05,1.6,646.4,M,-24.1,M,,*75
$GPGSA,A,3,02,,,07,,09,24,26,,,,,1.6,1.6,1.0*3D
$GPGSV,2,1,08,02,43,088,38,04,42,145,00,05,11,291,00,07,60,043,35*71
$GPGSV,2,2,08,08,02,145,00,09,46,303,47,24,16,178,32,26,18,231,43*77
$PGRME,22.0,M,52.9,M,51.0,M*14
$GPGLL,3907.360,N,12102.481,W,183730,A*33
$PGRMZ,2062,f,3*2D
$PGRMM,WGS 84*06
$GPBOD,,T,,M,,*47
$GPRTE,1,1,c,0*07
$GPRMC,183731,A,3907.482,N,12102.436,W,000.0,360.0,080301,015.5,E*67
$GPRMB,A,,,,,,,,,,,,V*71
*/
Új hozzászólás Aktív témák
- Milyen alaplapot vegyek?
- Mr. Beast retteg, elveszi az AI a munkát
- Spórolós topik
- Fortnite - Battle Royale & Save the World (PC, XO, PS4, Switch, Mobil)
- Hisense LCD és LED TV-k
- Kenyérsütés otthon kenyérsütőgéppel
- sziku69: Fűzzük össze a szavakat :)
- Lexus, Toyota topik
- Metal topik
- Mibe tegyem a megtakarításaimat?
- További aktív témák...
- Google Pixel 10 256GB - Törött kijelzőüveg - szept. 30-i vásárlás
- ACER PREDATOR ORION 3000 // CORE I5 9400 // 16GB DDR4 // GEFORCE GTX1660 SUPER 6GB // SSD+HDD
- Asus rog Zephyrus g14
- Corsair VENGANCE RGB PRO DDR4 16GB ( 2x8 kit ) 3200Mhz memória eladó.
- G.Skill TridentZ DDR4 16GB (2X8GB kit) F4-3200C16D memória párban eladó
- Telefon felvásárlás!! iPhone 16/iPhone 16 Plus/iPhone 16 Pro/iPhone 16 Pro Max
- CSX 2x2GB (4GB) DDR 800 MHz kit
- Bomba ár! Dell Latitude 5300 - i5-8GEN I 8-16GB I 256SSD I 13,3" I HDMI I Cam I W11 I Gari!
- Eredeti Lenovo 230W töltők - 4X20Z83995
- HIBÁTLAN iPhone XS Max 64GB Gold -1 ÉV GARANCIA - Kártyafüggetlen, MS2898, 100% Akkumulátor
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest