1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00
Commit Graph

152 Commits

Author SHA1 Message Date
Adam Preble
4af6746a56 Merge branch 'master' into ruby 2009-05-30 11:14:22 -04:00
Adam Preble
8e65a15a68 pinproctest now checks return value of LoadConfiguration(). 2009-05-29 22:24:39 -04:00
Adam Preble
afc63b4460 Added setting of FTDI latency timer to improve PRHardwareRead() times that were slowing down reading switch events. 2009-05-29 21:41:47 -04:00
Adam Preble
f3a71b7a6f pinproctest: Expanded YAML format to allow for fields inside of each PRSwitches/PRLamps/PRCoils entry. Added use of 'number' field. Added TZ.yaml. 2009-05-29 19:54:11 -04:00
Adam Preble
579d3532ea Fixed calls to PRSwitchUpdateRule() that weren't supposed to have drivers linked. 2009-05-29 19:09:38 -04:00
gstellenberg
528d3b4842 Made FlushWriteData public. 2009-05-29 12:14:51 -05:00
gstellenberg
a8f8e17824 Added call to PRFlushWriteData at the end of each run loop. 2009-05-29 12:14:24 -05:00
gstellenberg
c080334515 Added PRFlushWriteData 2009-05-29 12:13:58 -05:00
gstellenberg
183046ce8c Added PRFlushWriteData 2009-05-29 12:13:53 -05:00
gstellenberg
375f2f4005 Implement ganged writes to improve USB utilization 2009-05-29 12:05:25 -05:00
gstellenberg
dc8ec90ab5 Changed slingshot coil numbers to reflect updated WPC mappings 2009-05-28 23:16:06 -05:00
gstellenberg
1cf8101b19 Changed WPC coil mappings again. Previous change lost in a merge 2009-05-28 23:05:58 -05:00
Gerry Stellenberg
53570bbe55 Merge branch 'master' of ssh://gerrys-quad/home/gerrys/work/pinball/P-ROC/P-ROC 2009-05-28 22:54:53 -05:00
Gerry Stellenberg
8d65a9a352 Changed WPC coil mappings 2009-05-28 22:54:06 -05:00
gstellenberg
674e69a63e Merge branch 'master' of git@github.com:preble/P-ROC 2009-05-28 22:49:55 -05:00
Adam Preble
9b1765e94c Reworked PRReset() logic with respect to switch rules. 2009-05-28 23:43:23 -04:00
Adam Preble
e2ee789793 Added time information to switch printf()s.
Made vars in DMD update routine more descriptive.
ConfigureSwitches() no longer sets everything to notifyHost=true.
2009-05-28 23:40:06 -04:00
gstellenberg
1b9865da78 Added switch statement to change setup of driver globals and groups between WPC and Stern. Also changed the order of the WPC drivers to better match the order in game manuals 2009-05-28 18:50:53 -05:00
Adam Preble
b3b1298d23 Reworked PRReset() and added kPRResetFlag* #defs. 2009-05-27 21:29:18 -04:00
Adam Preble
1c70e5235f Updated yaml-cpp instructions to reflect new build location. 2009-05-27 21:11:36 -04:00
gstellenberg
06442264a1 Made PRDevice::Reset public for use in pinproctest and added a parameter to allow the disabled driver and switch rule structures to be written to the P-ROC. 2009-05-27 19:10:44 -05:00
gstellenberg
a26a9f5ce8 Merge branch 'master' of git@github.com:preble/P-ROC 2009-05-26 23:09:45 -05:00
Adam Preble
059c096531 Updated pinproctest to load switches and coils from command-line specified YAML file.
Removed Makefiles.  Added instructions to install yaml-cpp in /usr/local so CMake can find it (relative paths == bad).
2009-05-26 23:36:09 -04:00
gstellenberg
8fd8939ee8 Added private Shutdown() method to PRDevice to disable all drivers and switch rules before Close(). 2009-05-26 21:05:55 -05:00
Adam Preble
c5ca833732 Merge branch 'dev' 2009-05-26 20:23:39 -04:00
Adam Preble
511d5d49c4 Moved libftdi-specific code to PRHardware.cpp and added abstract PRHardware*() functions.
Added PRCommon.h.
2009-05-26 20:18:36 -04:00
gstellenberg
0f4976c5e5 Implemented PRSwitchUpdateConfig 2009-05-25 22:27:50 -05:00
Adam Preble
68851432cd Merge branch 'master' into ruby 2009-05-25 11:36:42 -04:00
gstellenberg
179125367b switched residual dotPointer to dotOffset to fix compile error. 2009-05-25 01:20:48 -05:00
Adam Preble
4a47637d99 Merging in changes for CMake building, etc.
Resolved conflict in:
	libpinproc/examples/pinproctest/pinproctest.cpp
2009-05-25 01:45:28 -04:00
Adam Preble
dcd9c560d3 Added CMake building and instructions to README.markdown.
Removed YAML loading code from libpinproc.
2009-05-25 01:40:08 -04:00
gstellenberg
c0586312c8 Changed DMD test pattern to diagonal lines moving horizontally to better show intensity control 2009-05-24 17:34:22 -05:00
Adam Preble
19d6812a8d First pass on Ruby extension. 2009-05-24 18:30:53 -04:00
gstellenberg
fc97e9a009 Changed DMD test pattern to diagonal lines moving horizontally to show better intensity control 2009-05-24 14:49:47 -05:00
Adam Preble
ab1bf3bafb Added constants for flippers & slings.
Swapped switch block for lookup table in DMD update routine.
Removed call to PRLoadDefaultsFromYAML().
2009-05-24 13:15:37 -04:00
gstellenberg
b9914c2520 Added PRConfig.cpp to LIBSRC 2009-05-22 22:42:30 -05:00
gstellenberg
f1f31b846b resolved merge conflicts 2009-05-22 22:36:20 -05:00
gstellenberg
3ec9462b99 Fixed switch rule linking and completed DMD configuration 2009-05-22 22:21:55 -05:00
gstellenberg
56ea3f7c6f Added switch rule tests and a DMD drawing test 2009-05-22 21:47:48 -05:00
gstellenberg
1d96d85b4a Fixed switch rule linking and completed DMD configuration 2009-05-22 21:46:43 -05:00
gstellenberg
a609cfdb42 Fixed switch rule linking and completed DMD configuration 2009-05-22 21:46:35 -05:00
Adam Preble
5f934a58f7 Changed PRLoadConfigFromYAML() to use much clearer style. 2009-05-22 12:41:10 -04:00
Adam Preble
8b0eeecee3 Moved YAML code to new PRConfig.cpp. 2009-05-22 11:35:31 -04:00
Adam Preble
cd1b0462c5 Added excruciatingly rough implementation of PRLoadDefaultsFromYAML() and related items. 2009-05-22 01:51:52 -04:00
Adam Preble
b96905f5ca Reverted minor doc wording change. 2009-05-21 20:13:29 -04:00
Adam Preble
cd725fd338 Documentation enhancements. 2009-05-21 10:04:35 -04:00
Adam Preble
77fe39aec5 Resolved watchdog change conflicts. 2009-05-20 23:20:25 -04:00
Adam Preble
9716e222a7 Reworked eventType out of PRSwitchRule and into the PRSwitchesUpdateRule() param list.
Added PRDriverState* functions for manipulating PRDriverState, removed helper functions for same from PRDevice.
2009-05-20 23:11:48 -04:00
gstellenberg
ec47b8fac1 Added support for configuring and tickling the watchdog timer. 2009-05-20 21:01:20 -05:00
Adam Preble
c46d928ee3 Added new PRSwitchesUpdateSwitch() call, removed old PRSwitchesUpdateSwitches(). Added maintaining switch rules in memory. Fixed license formatting in README.markdown. 2009-05-20 20:17:00 -04:00