sixths: start importing suncalc.

pull/3550/head
Pavel Machek 2024-08-19 22:12:51 +02:00
parent 5c77834a6b
commit 68ae86361c
1 changed files with 15 additions and 0 deletions

View File

@ -182,6 +182,21 @@ let gps = {
},
};
/* sun version 0.0.1 */
let sun = {
SunCalc: null,
init: function() {
try {
this.SunCalc = require("suncalc"); // from modules folder
} catch (e) {
print("Require error", e);
}
print("Have suncalc: ", this.SunCalc);
}
};
sun.init();
fmt.init();
gps.init();