Guest User

Untitled

a guest
Feb 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. while(s/(\D)(\d+)(?=\D)//) {
  2. if ($1 eq "A") {print "RPM is: $2\n";}
  3. ## A also derives CPS.
  4. if ($1 eq "B") {print "Boost is: $2\n";}
  5. if ($1 eq "C") {print "TPS is: $2\n";}
  6. if ($1 eq "D") {print "PWM is: $2\n";}
  7. ## D is multiplied by 0.3921568
  8. if ($1 eq "E") {print "Fuel is: $2\n";}
  9. ## $2 - 143 * - .7; Fuel En?
  10. if ($1 eq "F") {print "Current Map is: $2\n";}
  11. if ($1 eq "G") {print "Air Intake Temp is: $2\n";}
  12. if ($1 eq "H") {print "Clock is: $2\n";}
  13. if ($1 eq "&") {print "No idea is: $2\n";}
  14. ## no clue EGT?
  15. if ($1 eq "!") {print "Gear is: $2\n";}
  16. if ($1 eq "^") {print "AFR1 is: $2\n";}
  17. if ($1 eq "%") {print "Meth is: $2\n";}
  18. if ($1 eq "\$") {print "Oil Temp is: $2\n";}
  19. if ($1 eq "-") {print "FFPid is: $2\n";}
  20. # some variable divided by 2.55?
  21. if ($1 eq ":") {print "AFR2 is: $2\n";}
  22. if ($1 eq "L") {print "Ambient Voltage is: $2\n";}
  23. if ($1 eq "M") {print "DME Boost is: $2\n";}
  24. if ($1 eq ")") {print "Ignition Advance is: $2\n";}
  25. if ($1 eq "(") {print "Average Ignition is: $2\n";}
  26. if ($1 eq "z") {print "Average Ignition Drop is: $2\n";}
  27. if ($1 eq "*") {print "DME BT is: $2\n";}
  28. if ($1 eq "N") {print "DME Target is: $2\n";}
  29. ##if ($1 eq "a") {
  30. }
Add Comment
Please, Sign In to add comment