|
Forum Index : Microcontroller and PC projects : Boat Computer
| Author | Message | ||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
@ Geoff I have a friend who has been using the Boat Computer regularly, it is only now that he has tried to change the name "POI 1" etc to another name. When deleting the name it deletes back until you reach the P in POI and then throws an error. I have a clumsy workaround by putting a space before the P in "POI " in line 89 but if you space back one too many it crashes with an error on line 685 "Error: 0 is invalid". There is no hurry as I know you are busy. It would also be nice if the distance to POI changed to metres below say half a kilometre instead of reading decimals of a Km. Thanks a million for all you have done. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
Thanks Paul. Both should be doable. I will get back to you on it. Geoff Geoff Graham - http://geoffg.net |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
Thanks Geoff, while I have you, I wanted to run a larger screen and the only board I had was MMX with an SSD1963_4, but when I run the same code that runs on the 28 pin backpack I get an error: Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10570 |
Atan2 is a built in function in the MMX. Just delete the function in the boat computer code |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
Thanks Peter, I looked in the manual under functions and didn't see it there so I did a search of the MMX manual and it didn't show up. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10570 |
Oops, I'll update the manual. Sorry |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
@ matherp OK that problem sorted but there is another line do you know what the address is for the 100 pin MZ chip. If too much trouble I can put up with the smaller screen. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
| disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 1044 |
Base address on MZ is 0x9d004000 so try this. SetPin Peek(Byte Peek(Word &H9D004090) + 23), INTL, TouchDown Regards Gerry F4 H7FotSF4xGT |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
Thanks Gerry that seems OK but now this. If I am going to have to alter a lot of code to get this running I will give it a miss. Paul. Edit. With this board I use OPTION TOUCH 19,17 "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
| disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 1044 |
You need to replace that whole line with GUI INTERRUPT TouchDown as that is how the MM+ and MMX set up the interrupt. F4 H7FotSF4xGT |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
OK Thanks got it working OK. Interestingly my original problem of not being able to delete the 'P' in 'POI' is not evident when using the SSD1963 screen. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
Chopperp![]() Guru Joined: 03/01/2018 Location: AustraliaPosts: 1106 |
Amazing what you find by searching previous posts. Just hooked up my recently build SC +Explore 64 to the GPS output of Geoff's GPS Tracker (SC NOV 2013 which has BTW, been running in my car since I built it back then). Got it working OK on a much simpler program by Geoff so decided to try the Boat Computer. Ran into the same GUI problems as mentioned in this thread. Many hours of playing around & looking for answers. Found this thread which provided the solution. Thanks. Now to have a play around with a working GPS / GUI program. BTW, I hate boats.. ChopperP |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |