Skip to content

Commit

Permalink
Update Test_Sighting.html
Browse files Browse the repository at this point in the history
  • Loading branch information
pdr0663 authored Sep 3, 2024
1 parent 3544069 commit dfa49c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Test_Sighting.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ <h1>Compass Bearing</h1>
let alpha = event.alpha;
const true_bearing = event.alpha;
const magnetic_bearing = event.webkitCompassHeading;
console.log(true_bearing);
console.log(magnetic_bearing);
console.log();
/*
// Adjust for different screen orientations
if (window.orientation === 0) { // Portrait
Expand Down

0 comments on commit dfa49c7

Please sign in to comment.