Add files via upload

This commit is contained in:
Андрей 2021-03-29 20:43:07 +04:00 committed by GitHub
parent 64c6352265
commit 35131ba393
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 1738 additions and 0 deletions

View file

@ -0,0 +1,10 @@
SUB MAIN
IF (IsMagneticFieldAvailable()) THEN
WHILE (TRUE)
PRINT "X=" + STRING(getMagneticFieldX()) + ", Y=" + STRING(getMagneticFieldY()) + ", Z=" + STRING(getMagneticFieldZ())
SLEEP 1000
END WHILE
ELSE
PRINT "Magnetic Field Sensor is not available on this device"
END IF
END SUB