hBasic Manual Sensors
command changes
|
|||||||||||||||||||||||||||
OverviewThe minimum sensor type was changed to 1
|
|||||||||||||||||||||||||||
Pseudo Sensor type -3 Orientation
Sensor Type (+)3 was deprecated since Android 4.4W (API
20).
This special type of -3 is an hBasic replacement. The SENSORS commands do not normally allow a negative type, but will treat this request as a special case. SENSORS.OPEN and SENSORS.READ will not error for special type of -3. Type -3 uses the Acceleration and Magnetic Field sensors. Both sensors must be available in hardware to work. SENSORS.OPEN -3 is the same as SENSORS.OPEN 1,2 (with common delay) e.g SENSORS.Open -3 % or SENSORS.open 1,2 SENSORS.Read -3, azimuth, pitch, roll An example of using this sensor is found in the sample program h06_compass.bas. Notes This pseudo sensor follows the guideline found here ; |
|||||||||||||||||||||||||||