Yahooo!
If you are going to add interrupts, you'll need to make some changes.
SERIN2's baudrate is software timed, and it doesn't like being interrupted.
You'll have to move the serial lines...
Type: Posts; User: Darrel Taylor; Keyword(s):
Yahooo!
If you are going to add interrupts, you'll need to make some changes.
SERIN2's baudrate is software timed, and it doesn't like being interrupted.
You'll have to move the serial lines...
With DEC4 change it to this for the Longitude ...
;----[convert Longitude Sexagesimal to Decimal Degrees]-------------------------
Aint = LonMinDec : GOSUB ItoFA ; decimal portion of Minutes...
Does your GPS module put out more decimal places in the LAT/LON fields?
Since the edge of the square runs through the middle of the house, whether you're at the front window or rear window inside,...
These are some of the results I get ...
LAT LON Maidenhead
Deg Min.Min Deg Min.Min 1234567890
------------ ------------ ----------
53° 25.83' -0° 49.77' ...
Nope, it's 24x24.
And your 10-digit locator is IO93ok03kh.
This version is quite different from the last one.
I've tossed out the stuff that came from the pearl script and did it like the PDF...
Not sure if the fifth pair is also a 10x10 subdivision, since the PDF only does 8 characters.
But continuing the logic to the next pair, I'm getting that your 10 digit locator is ... IO93ok03ed
...
Thanks Rob, that is helpful.
But the routines from the pearl script don't leave the variables in the right state to do the last part.
I'm trying to recreate it in a spreadsheet to see what values...
The code was based on the pearl script on the Wikipedia page, which only shows how to get 6 digits.
Do you know of somewhere that shows how to get the last two digits?
@__config_HS_OSC
@__config_BOD_OFF
@__config_PWRT_ON
@__config_WDT_ON
@__config_PROTECT_OFF
@__config_LVP_OFF
Those lines are not configuration statements.
They are actually assembly...
Yes, you can have as many custom character sets as you want.
But only one set can be loaded at a time.
In your last code, the configs you have aren't doing anything.
They should look like this...
WooHoo!! That's Beeeeauuuutiful Rob!
I'm so glad to see it working.
I do have some suggestions for you about the configs, Months, volts ...
When your ready to work on it some more.
P.S....
The 16F628A has 2K words of program space.
The 16F818 only has 1K words.
You're going to need a bigger chip.
The Maidenhead routine with Floating point libraries will take >1.5K by itself.
...
Awesome!
Can't wait to see an IO93ok on that LCD.
The SERIN2 line has a value for the timeout, but there's no label for it to jump to.
An afterthought, before the fact.
I went through this trying to make sure it didn't require PBP3 since Rob doesn't have it. But now that I've posted it, I realized it requires PBP 2.60 or later....
Woohoo!
HK34wh it is!!
And it's not even midnight yet. :)
It's some really ugly code right now, will need to add some "Pretty" to it.
Are you guy's using PBP3?
If not, there's only so...
Thanks Andy, I knew I couldn't be that far off.
But apparently, I need to work on the math some more. :)
Darned Floating-Point ...
Trying to work through the example in post #1.
The best I can come up with is HK33xv at that location.
Are you sure about the example in post #1?
And it seems that Andy is in Winnipeg...