GPS Streaming error

Before creating the topic

  1. Search forum for similar topics
  2. Check and
  3. Add details :
    • Hardware model + communication type. For example: Arduino UNO with Ethernet Shield
    • Smartphone OS (iOS or Android) + version
    • Blynk server or local server
    • Blynk Library version
    • Add your sketch code. :point_up:Code should be formatted as example below.

Simply paste your code between ``` If you don’t format your code, your topic can be deleted by moderators.

void loop()

  1. add details
    hardware model : Arduino due
    smartphone amdroid + blynk leagcy
    bylnk server

I am working on a gps tracking project, but an error occurs in the GPS Streaming code. I would appreciate it if you could tell me how to solve this problem.

[Unformatted code removed by moderator]

error: ‘GpsParam’ was not declared in this scope
error: expected ‘;’ before ‘gps’
error: ‘class TinyGPS’ has no member named ‘getLat’
error: ‘class TinyGPS’ has no member named ‘getLon’
Compilation error: ‘GpsParam’ was not declared in this scope

I’d suggest that you edit your post and provide answers to these questions…

then delete the snippet of code that you’ve provided and replace it with your full sketch, and format it correctly with triple backticks at the beginning and end.
Triple backticks look like this:

Copy and paste these if you can’t find the correct symbol on your keyboard.


Should be 0.6.1 if you’re using Legacy.