1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-22 18:15:25 +01:00

Made subdirectories for each game in pyprocgame. Still need to run the scripts from pyprocgame/. (ie. ./pryprocgame> python games/jd/jd.py

This commit is contained in:
gstellenberg
2009-10-18 16:49:25 -05:00
parent 4ac76276d0
commit 73bcc3575b
2 changed files with 9 additions and 4 deletions

View File

@@ -154,6 +154,8 @@ void sigint(int)
int main(int argc, const char **argv)
{
int i;
// Set a signal handler so that we can exit gracefully on Ctrl-C:
signal(SIGINT, sigint);
startTime = time(NULL);
@@ -207,7 +209,10 @@ int main(int argc, const char **argv)
// Pulse a coil for testing purposes.
PRDriverPulse(proc, 47, 30);
// Schedule a feature lamp for testing purposes.
PRDriverSchedule(proc, 80, 0xFF00FF00, 0, 0);
for (i=0; i<8; i++) {
PRDriverSchedule(proc, 80+i, 0xFF00FF00, 0, 0);
}
//PRDriverSchedule(proc, 80, 0xFF00FF00, 0, 0);
//PRDriverSchedule(proc, 0, 0xFF00AAAA, 1, 1);
// Pitter-patter a feature lamp for testing purposes.
//PRDriverPatter(proc, 84, 127, 127, 0);