0

I am creating my own GPS library using NeoGPS library. So for fixing the GPS NeoGPS library defines gps_fix as:

gps_fix  fix;

Now i want to define the same thing in my library. How to define the object which is already defined in the inbuilt library in arduino.

  • Typically, there are two solutions: A) your class inherits form NeoGPS or B) your class contains a NeoGPS object (as reference) – DataFiddler Dec 18 '19 at 14:21
  • @DataFiddler Can you explain it by giving an example. It would be more clear to me. – Krupali Mistry Dec 20 '19 at 0:21
  • Typically, it's you to give more details about your problem. :) – DataFiddler Dec 20 '19 at 11:36
  • @DataFiddler stackoverflow.com/questions/59385368/… – Krupali Mistry Dec 25 '19 at 3:24
  • This is the link of my question with all the details and coding – Krupali Mistry Dec 25 '19 at 3:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.