Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

distance calculation on PIC18F

Status
Not open for further replies.

D1_DRE

Member level 3
Joined
Apr 26, 2002
Messages
61
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
518
I'm trying to write an optimed code to calculate distances given 2 different longitude and latitude references on a PIC18F. there is no need for a great deal of accuracy 5-10% should do or a guide on how to get started.

I'll appreciate links to similar implementation

thanx

d1_dre
 

almtree

Junior Member level 2
Joined
Jan 9, 2002
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Europe
Activity points
135
HI,

Convert the Long and Lat of the first point to secs and subtract them from the conveted secs of the second point, then convert the result back to hhmmss and ggddss.

Regards

Paulo A.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top