'error' was not declared in this scope

36 views
Skip to first unread message

Andrea Mezzanzanica

unread,
Dec 13, 2015, 6:29:47 AM12/13/15
to Amarino Toolkit
Hi, i installed MeetAndroid Library.
Then i clicked on File-> Examples -> MeetAndroid -> SensorEvents.

When i Verify i have this error:

'error' was not declared in this scope

Could you kindly help me?

I attach the log file

Thank you!!

Andrea
Log error_Example.txt

Jung Yi

unread,
Dec 13, 2015, 8:40:58 AM12/13/15
to amarino...@googlegroups.com

Hi, there.
I am not familiar with application that you are using, but in the error log; in my guess that compass is not sending the value to the applications in the first time and the error object try to log the compass error without the compass error value at the application.

--

---
You received this message because you are subscribed to the Google Groups "Amarino Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amarino-toolk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrea Mezzanzanica

unread,
Dec 14, 2015, 4:53:07 AM12/14/15
to Amarino Toolkit
Could you kindly better explain what do you mean?

Thank you

Andrea

Jung Yi

unread,
Dec 14, 2015, 9:00:34 AM12/14/15
to amarino...@googlegroups.com

Hi...
According to the error log, the error or warning is catcher at the last line of 'void compass(byte flag, byte numOfValues)' .... I guess.
And, it says that unused parameter flag.
So, I think that the error is came from either compass sensor value or the flag (?); which is not provided to the application.

Reply all
Reply to author
Forward
0 new messages