RaceCapturePro Lua Scripting
Scripting functions for RaceCapture/Pro
getGpio setGpio getButton
isSDCardPresent isSDCardWritable
setPWMDutyCycle setPWMDutyCycleRaw setPwmPeriod setPwmPeriodRaw setAnalogOut
getTimerRpm getTimerPeriodMs getTimerPeriodUsec getTimerFrequency getTimerRaw
resetTimerCount getTimerCount
getAnalog getAnalogRaw
readSerial writeSerial
getGpsLatitude getGpsLongitude getGpsSpeed getGpsQuality getGpsTime getLapCount getLapTime getGpsSec getAtStartFinish
getTimeDiff getTimeSince
getAccel getAccelRaw
startLogging stopLogging
setLed
flashLoggerConfig
setAnalogSampleRate
getAnalogSampleRate
setAnalogScaling getAnalogScaling
setPwmClockFrequency getPwmClockFrequency
setPwmSampleRate
getPwmSampleRate
setPwmOutputConfig getPwmOutputConfig
setPwmLoggingConfig getPwmLoggingConfig
setPwmStartupDutyCycle getPwmStartupDutyCycle
setPwmStartupPeriod getPwmStartupPeriod
setPwmVoltageScaling getPwmVoltageScaling
setGpsInstalled getGpsInstalled
setGpsStartFinish getGpsStartFinish
setGpsPositionSampleRate getGpsPositionSampleRate
setGpsSpeedSampleRate getGpsSpeedSampleRate
setGpsTimeSampleRate getGpsTimeSampleRate
setLapCountSampleRate getLapCountSampleRate
setLapTimeSampleRate getLapTimeSampleRate
setGpioSampleRate getGpioSampleRate
setGpioConfig getGpioConfig
setTimerSampleRate getTimerSampleRate
setTimerConfig getTimerConfig
setTimerPulsePerRevolution getTimerPulsePerRevolution
setTimerDivider getTimerDivider
calculateTimerScaling getTimerScaling
setAccelInstalled getAccelInstalled
setAccelSampleRate getAccelSampleRate
setAccelConfig getAccelConfig
setAccelChannel getAccelChannel
setAccelZeroValue getAccelZeroValue
calibrateAccelZero