mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
# Syntax Colouring Map for GY521
|
|
|
|
|
|
# Data types (KEYWORD1)
|
|
GY521 KEYWORD1
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
begin KEYWORD2
|
|
isConnected KEYWORD2
|
|
reset KEYWORD2
|
|
wakeup KEYWORD2
|
|
|
|
read KEYWORD2
|
|
readAccel KEYWORD2
|
|
readGyro KEYWORD2
|
|
readTemperature KEYWORD2
|
|
|
|
setThrottle KEYWORD2
|
|
getThrottle KEYWORD2
|
|
setThrottleTime KEYWORD2
|
|
getThrottleTime KEYWORD2
|
|
setNormalize KEYWORD2
|
|
getNormalize KEYWORD2
|
|
|
|
setAccelSensitivity KEYWORD2
|
|
getAccelSensitivity KEYWORD2
|
|
getAccelX KEYWORD2
|
|
getAccelY KEYWORD2
|
|
getAccelZ KEYWORD2
|
|
getAngleX KEYWORD2
|
|
getAngleY KEYWORD2
|
|
getAngleZ KEYWORD2
|
|
getTemperature KEYWORD2
|
|
|
|
setGyroSensitivity KEYWORD2
|
|
getGyroSensitivity KEYWORD2
|
|
getGyroX KEYWORD2
|
|
getGyroY KEYWORD2
|
|
getGyroZ KEYWORD2
|
|
getPitch KEYWORD2
|
|
getRoll KEYWORD2
|
|
getYaw KEYWORD2
|
|
|
|
lastTime KEYWORD2
|
|
setRegister KEYWORD2
|
|
getRegister KEYWORD2
|
|
getError KEYWORD2
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
GY521_LIB_VERSION LITERAL1
|
|
GY521_THROTTLE_TIME LITERAL1
|
|
GY521_OK LITERAL1
|
|
GY521_THROTTLED LITERAL1
|
|
GY521_ERROR_READ LITERAL1
|
|
GY521_ERROR_WRITE LITERAL1
|
|
GY521_ERROR_NOT_CONNECTED LITERAL1
|
|
|
|
GY521_RAD2DEGREES LITERAL1
|
|
GY521_RAW2DPS LITERAL1
|
|
GY521_RAW2G LITERAL1
|
|
|