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

119 Commits

Author SHA1 Message Date
Gerry Stellenberg
718c695a87 Merge branch 'dev' of github.com:preble/libpinproc into dev 2013-07-02 23:14:10 -05:00
Gerry Stellenberg
235a5d9f50 Added AccelerometerIRQ support. 2013-07-02 23:13:58 -05:00
Gerry Stellenberg
a9f35706da Changes for p3-roc 2013-06-25 18:54:54 -05:00
Roy Eltham
0c975d372b Hardcoded number cleanup and more.
Made the hard coded number cleanup changes Gerry requested.
Also changed FillLEDWriteCommand to FillPDBCommand, now it can be used
filling out any PDB command (extra constants in PRHardware.h).
2013-03-01 09:59:37 -08:00
Roy Eltham
cd9b88dea6 Added PD-LED board functions. 2013-02-28 21:20:29 -08:00
Roy Eltham
c871ddfeb3 Revert "Added functions for PD-LED boards."
This reverts commit dec4955b15.
2013-02-28 20:36:01 -08:00
Roy Eltham
dec4955b15 Added functions for PD-LED boards. 2013-02-28 19:16:18 -08:00
Roy Eltham
c7daca92d6 Fix memory stomp due to incorrect malloc size. 2013-02-24 23:02:20 -08:00
Gerry Stellenberg
78ed8bbe67 Added accelerometer events 2012-07-30 19:22:19 -05:00
Gerry Stellenberg
72301ec1dd Separated switch event parsing for V1 vs V2. 2012-05-12 15:06:23 -05:00
Gerry Stellenberg
26670142b3 Added 'now' param to patter functions. 2012-02-03 16:38:33 -06:00
Gerry Stellenberg
27bfbbf342 Added future pulse support. 2011-12-16 19:13:36 -06:00
Gerry Stellenberg
21c3a45e88 Added support for PDB machine type. 2011-11-04 16:09:23 -05:00
Gerry Stellenberg
b6a40477c0 Provide P-ROC event timestamps with switch events. 2011-09-15 19:04:39 -05:00
Gerry Stellenberg
06b8af5393 Replace concept of virtual switches with switches that don't need to be debounced. This is necessary because all switches 0-255 are used. Defining some as never-debounce makes switch rules available for linked rules. 2011-08-29 16:19:24 -05:00
Gerry Stellenberg
ed8f768ae2 Adjusted addresses used in PRSwitchGetStates to reflect FPGA change. Use the combined version/revision to choose between the old address and the new one so that old FPGAs will still work fine. 2011-06-07 09:00:18 -05:00
Gerry Stellenberg
3f41e9b4b9 Fixed bug where a switch rule driver wasn't getting programmed properly if there was only one driver. 2011-02-18 13:52:18 -06:00
Gerry Stellenberg
c53227c90e Added progress status to pinprocfw. Also added the drive_outputs_now parameter to PRSwitchUpdateRule() and associated methods. When true and FPGA version is 1.17 (non-debug) or higher), the P-ROC will check the switch state to see if the drivers should be processed immediately. 2011-02-17 21:40:06 -06:00
Gerry Stellenberg
a7130131f3 More tweaks for MSVC support, and eliminated deprecated conversion warnings from pinprocfw.cpp. 2011-01-16 18:06:29 -06:00
Gerry Stellenberg
f198a341f8 Added include guards 2011-01-16 09:39:36 -06:00
Gerry Stellenberg
9af691d70a Continued improvements for MSVC builds. Reworked CmakeLists.txt and simplified ifdefs in PRHardware.cpp 2011-01-10 17:01:51 -06:00
Gerry Stellenberg
1a82212cb4 Removed unnecesary ifdef around stdio.h. stdio.h should be available on all platforms. 2011-01-02 21:35:17 -06:00
Gerry Stellenberg
a07206ff39 More small tweaks for MSVC. 2011-01-02 18:02:07 -06:00
Gerry Stellenberg
d90bf717ba Back out protection code from previous check-in. It's too restrictive. 2010-12-30 19:44:40 -06:00
Gerry Stellenberg
b493bc702a Merge branch 'dev' of git@github.com:preble/libpinproc into dev 2010-12-30 18:01:16 -06:00
Gerry Stellenberg
b58c868a8f Removed debug printf from aux logic 2010-12-30 18:01:04 -06:00
Gerry Stellenberg
e08e4cde52 Minor changes to avoid compilation errors in MSVC 2010-12-29 17:21:34 -06:00
Gerry Stellenberg
f3ad533059 Adjusted CMakeLists.txt to allow #include <pinproc.h> to work. 2010-12-27 12:05:34 -06:00
Gerry Stellenberg
3ffb3b6f53 Added delay param to aux_output commands 2010-12-04 22:28:16 -06:00
Gerry Stellenberg
06e651026a Fixed a number decoding mistake for wpc95 games 2010-11-21 15:06:53 -06:00
Gerry Stellenberg
4314b48548 Added driver group disable helper functions. 2010-11-17 17:49:10 -06:00
preble
23cf3b374b Minor improvements. Fixed PRSleep() on POSIX platforms. 2010-06-14 01:02:49 -04:00
Gerry Stellenberg
c29a6daa48 Added additional includes for better cross-platform compilation support. 2010-05-12 18:10:00 -05:00
gstellenberg
aa7e064d70 Added support for a reload timer for each switch rule. 2010-04-30 20:39:39 -05:00
gstellenberg
e7ffc77566 Set reloadActive bit on switch rule updates. 2010-04-30 20:38:37 -05:00
gstellenberg
e90731e7b9 Added PRDriverPulsedPatter for patter bursts. 2010-04-11 19:30:08 -05:00
gstellenberg
25c4fe2d0b Added kPRMachineTypeWPCAlphanumeric to differentiate between WPC machines needing an Aux port for alphanumeric control versus those using a DMD. Also added default driver code to configure the FPGA's Manager Config register. 2010-04-10 23:17:55 -05:00
Gerry Stellenberg
2be7223089 Removed enableExtraData from Aux commits. That bit is now a global bit in the FPGA's Manager logic. 2010-04-10 20:33:11 -05:00
gstellenberg
f5754d961b Added support for Aux Port and Pulsed Patter 2010-04-04 14:19:43 -05:00
preble
ed7f0153f0 Improved error reporting. PRGetEvents() now returns -1 if an error occurred. 2010-03-28 14:23:07 -04:00
gstellenberg
00009be170 Fixed linked rules free list maintenance bug. 2010-02-23 13:20:21 -06:00
gstellenberg
3155dc9a10 Fixed switch event typo. 2010-02-17 10:35:37 -06:00
gstellenberg
c7367fc5ee Changed VerifyChipID retries to 5 now that it's ignoring unrequested data. Should really only need to be 1. 2009-10-30 23:50:44 -05:00
gstellenberg
8f6357fcb4 Changed VerifyChipID to use SortReturningData instead of just ReadData so it will ignore nonrequested events like DMD events. 2009-10-30 23:30:47 -05:00
gstellenberg
6a0c819939 When setting up defaults, set up the driver groups before enabling the drivers since the FPGA now uses the groups to set the initial polarity. 2009-10-29 00:02:26 -05:00
gstellenberg
df1bbb084e Added code to set the polarity of driver group 18 and drivers 144-151 for WPC machineTypes to 1 for the 8-driver board. 2009-10-26 12:03:55 -05:00
gstellenberg
a6ac5122e5 Cleanup for VerifyChipID logic. 2009-10-25 15:24:33 -05:00
gstellenberg
9550ba1223 Added debug for startup crashes, and put a while loop of 50 max iterations around VerifyChipID(). 2009-10-25 15:05:58 -05:00
gstellenberg
00724e58e3 Merge branch 'master' of git@github.com:preble/P-ROC 2009-10-25 13:13:03 -05:00
gstellenberg
f1b5c49295 adjusted WPC mappings for 8-driver board coils. 2009-10-25 13:12:58 -05:00