improved speed of arrow drawCompass(), updated calibrate for smaller arrayBuffer

master
hughbarney 2021-03-17 14:01:28 +00:00
parent e259fbef10
commit 8871c05d70
1 changed files with 5 additions and 5 deletions

View File

@ -127,12 +127,12 @@ function docalibrate(e,first){
function action(b){
if (b) {
buf1.setColor(1);
buf1.setFont("Vector", 30);
buf1.setFont("Vector", 20);
buf1.setFontAlign(0,-1);
buf1.drawString("Figure 8s",80, 40);
buf1.drawString("to",80, 80);
buf1.drawString("Calibrate",80, 120);
flip1(40,40);
buf1.drawString("Figure 8s",64, 0);
buf1.drawString("to",64, 40);
buf1.drawString("Calibrate",64, 80);
flip1(56,56);
calibrate().then((r)=>{
require("Storage").write("magnav.json",r);