RaceCapturePro Lua Scripting

Revision as of 03:59, 6 March 2013 by Brentp (talk | contribs) (initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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