mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Removed extra param in call to PRDriverAuxPrepareOutput
This commit is contained in:
@@ -226,7 +226,6 @@ int main(int argc, const char **argv)
|
|||||||
//Pulsed Patter for coil 48: on 5ms, off 10ms, repeat for 45ms.
|
//Pulsed Patter for coil 48: on 5ms, off 10ms, repeat for 45ms.
|
||||||
//PRDriverPulsedPatter(proc, 48, 5, 10, 45); // Coil 48: on 5ms, off 10ms, repeat for 45ms.
|
//PRDriverPulsedPatter(proc, 48, 5, 10, 45); // Coil 48: on 5ms, off 10ms, repeat for 45ms.
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
PRDriverAuxCommand auxCommands[256];
|
PRDriverAuxCommand auxCommands[256];
|
||||||
|
|
||||||
@@ -234,7 +233,7 @@ int main(int argc, const char **argv)
|
|||||||
PRDriverAuxPrepareDisable(&auxCommands[0]);
|
PRDriverAuxPrepareDisable(&auxCommands[0]);
|
||||||
// Set up a sequence of outputs.
|
// Set up a sequence of outputs.
|
||||||
for (i=0; i<16; i++) {
|
for (i=0; i<16; i++) {
|
||||||
PRDriverAuxPrepareOutput(&(auxCommands[i+1]), i, 0, false, 8, false);
|
PRDriverAuxPrepareOutput(&(auxCommands[i+1]), i, 0, 8, false);
|
||||||
}
|
}
|
||||||
// Disable the last command so the sequence stops.
|
// Disable the last command so the sequence stops.
|
||||||
// PRDriverAuxPrepareDisable(&auxCommands[17]);
|
// PRDriverAuxPrepareDisable(&auxCommands[17]);
|
||||||
@@ -248,9 +247,9 @@ int main(int argc, const char **argv)
|
|||||||
// Jump from addr 0 to 1 to begin.
|
// Jump from addr 0 to 1 to begin.
|
||||||
PRDriverAuxPrepareJump(&auxCommands[0],1);
|
PRDriverAuxPrepareJump(&auxCommands[0],1);
|
||||||
PRDriverAuxSendCommands(proc, auxCommands, 1, 0);
|
PRDriverAuxSendCommands(proc, auxCommands, 1, 0);
|
||||||
|
|
||||||
PRFlushWriteData(proc);
|
|
||||||
*/
|
*/
|
||||||
|
PRFlushWriteData(proc);
|
||||||
|
|
||||||
|
|
||||||
printf("Running. Hit Ctrl-C to exit.\n");
|
printf("Running. Hit Ctrl-C to exit.\n");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user