Code: Select all
// Output the sync pulse only once per "engine cycle"
if(KeyUserDebugs.currentEvent == 0){
Code: Select all
// Output the sync pulse only once per "engine cycle"
if(KeyUserDebugs.currentEvent == 0 ||
KeyUserDebugs.currentEvent == 4 ||
KeyUserDebugs.currentEvent == 8 ||
KeyUserDebugs.currentEvent == 12){
This works for 2245b23028d877fa2002f1886522168db24429aa or later. It was completely broken for a few commits before this, unsure how many.
The command to produce the above output is:
Code: Select all
./pempheridae2 -r -i 1 -m 0 -t 12 -j 400 -k 500
Fred.