Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 09:57 02 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMX144 question

Author Message
astro1
Regular Member

Joined: 26/06/2016
Location: Australia
Posts: 51
Posted: 12:18am 06 Apr 2017
Copy link to clipboard 
Print this post

With option lcdpanel vga, what is the touch command?
Testing out a ps2 mouse.
:')
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 04:00am 06 Apr 2017
Copy link to clipboard 
Print this post

Check page 20 of the manual
 
astro1
Regular Member

Joined: 26/06/2016
Location: Australia
Posts: 51
Posted: 07:41pm 07 Apr 2017
Copy link to clipboard 
Print this post

Yep, sorry read it the wrong way.
Thanks,
 
astro1
Regular Member

Joined: 26/06/2016
Location: Australia
Posts: 51
Posted: 07:25pm 14 Apr 2017
Copy link to clipboard 
Print this post

Just trying out the GPS. MMX144 v5.03.16 @ 252MHz, GPS V.KEL TTL.

Latitude always prints Ok, but longitude prints the lat value (-37.7128).
Mostly fails if no pause, intermittent if pause is 100. Working if pause is 1000. Other GPS commands looks ok.

'this works with pause 1000
Open "com1:9600" As GPS,UTC +10
Do
If GPS(valid)=1 Then
Print GPS(latitude)
Pause 1000
Print GPS(longitude)
Else
Print "waiting"
End If
Loop
Close GPS

' this prints lats then longs then lats again, looping
Open "com1:9600" As GPS,UTC +10
Do
'If GPS(valid)=1 Then
'Print GPS(latitude)
'Pause 1000
Print GPS(longitude)
'Else
'Print "waiting"
'End If
Loop
Close GPS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 09:39pm 14 Apr 2017
Copy link to clipboard 
Print this post

Thanks for the report - cut-and-paste typo in the code.

The longitude is derived from either GGA or RMC, it was correct for GGA but not RMC so it depended on timing of the request if you got the right answer.

Please try this - no change in version number

2017-04-15_073519_mmx.zip

I'll update the main thread when there is a more significant changeEdited by matherp 2017-04-16
 
astro1
Regular Member

Joined: 26/06/2016
Location: Australia
Posts: 51
Posted: 12:01pm 15 Apr 2017
Copy link to clipboard 
Print this post

Thanks, works great.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024