mirror of
https://github.com/preble/libpinproc
synced 2026-02-22 18:15:25 +01:00
Merge branch 'master' of git@github.com:preble/P-ROC
This commit is contained in:
@@ -243,6 +243,13 @@ PR_EXPORT void PRDriverStateSchedule(PRDriverState *driverState, uint32_t schedu
|
||||
*/
|
||||
PR_EXPORT void PRDriverStatePatter(PRDriverState *driverState, uint16_t millisecondsOn, uint16_t millisecondsOff, uint16_t originalOnTime);
|
||||
|
||||
/**
|
||||
* @brief Converts a coil, lamp, switch, or GI string into a P-ROC driver number.
|
||||
* The following formats are accepted: Cxx (coil), Lxx (lamp), Sxx (matrix switch), SFx (flipper grounded switch), or SDx (dedicated grounded switch).
|
||||
* If the string does not match this format it will be converted into an integer using atoi().
|
||||
*/
|
||||
PR_EXPORT uint16_t PRDecode(PRMachineType machineType, const char *str);
|
||||
|
||||
/** @} */ // End of Drivers
|
||||
|
||||
// Switches
|
||||
|
||||
Reference in New Issue
Block a user