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: AustraliaPosts: 51 |
With option lcdpanel vga, what is the touch command? Testing out a ps2 mouse. :') |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
Check page 20 of the manual |
||||
astro1 Regular Member Joined: 26/06/2016 Location: AustraliaPosts: 51 |
Yep, sorry read it the wrong way. Thanks, |
||||
astro1 Regular Member Joined: 26/06/2016 Location: AustraliaPosts: 51 |
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 KingdomPosts: 8592 |
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 change |
||||
astro1 Regular Member Joined: 26/06/2016 Location: AustraliaPosts: 51 |
Thanks, works great. |
||||
Print this page |