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