From 966371a34e8e0acde1e7cb097ba1bfdd30b70280 Mon Sep 17 00:00:00 2001 From: Gerry Stellenberg Date: Mon, 28 Sep 2009 23:33:36 -0500 Subject: [PATCH] Separated machineType stern into sternSAM and sternWhitestar. --- examples/pinproctest/pinproctest.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/pinproctest/pinproctest.cpp b/examples/pinproctest/pinproctest.cpp index aea3bc1..94afc62 100644 --- a/examples/pinproctest/pinproctest.cpp +++ b/examples/pinproctest/pinproctest.cpp @@ -179,8 +179,10 @@ int main(int argc, const char **argv) yamlDoc["PRGame"]["machineType"] >> machineTypeString; if (machineTypeString == "wpc") machineType = kPRMachineWPC; - else if(machineTypeString == "stern") - machineType = kPRMachineStern; + else if(machineTypeString == "sternWhitestar") + machineType = kPRMachineSternWhitestar; + else if(machineTypeString == "sternSAM") + machineType = kPRMachineSternSAM; else { fprintf(stderr, "Unknown machine type: %s\n", machineTypeString.c_str()); @@ -203,7 +205,7 @@ int main(int argc, const char **argv) ConfigureSwitchRules(proc, yamlDoc); // Flippers, slingshots // Pulse a coil for testing purposes. - //PRDriverPulse(proc, 53, 100); + PRDriverPulse(proc, 47, 30); // Schedule a feature lamp for testing purposes. PRDriverSchedule(proc, 80, 0xFF00FF00, 0, 0); //PRDriverSchedule(proc, 0, 0xFF00AAAA, 1, 1);