I thought to make last LED lit when the RPM reaches REV limit, but just left it to be simple rpm meter. If you want I can add such(or similar) feature.
- Description -
This program controls 8 LEDs over LPT to display Car RPM in LFS.
- Requirements -
This program is native Win32 so it does not need additional software to be installed. The only requirement is inpout32(found in this website) which is included in the archive provided.
- Installation -
You need to edit cfg.txt in your LFS folder and replace these lines:
OutGauge Mode 0 OutGauge Delay 0 OutGauge IP 0.0.0.0 OutGauge Port 0 OutGauge ID 0
with these:
OutGauge Mode 1 OutGauge Delay 5 OutGauge IP 127.0.0.1 OutGauge Port 16969 OutGauge ID 0
- Command line options -
-invertorder : Invert order of LEDs
-invertstates : invert LEDs' On/Off states
-debug : Output states of LEDs to console
- Hardware -
You just need to connect 8 LEDs to LPT port through resistors. The schematic is very simple.
Here's the schematic I found on google: http://www.elec.canterbury.ac. ... parport/rsrc/circuit1.GIF
Resistance of resistors can be changed according to your LED specifications.
- Other notes -
If you find LEDs changing too slowly, you can decrease value of OutGauge Delay in cfg.txt.
I mean number of nodes in track. I am splitting track into more splits(like 10) by using path nodes. So knowing node count and split count I can calculate one split size
How? It refuses my InSim program because of incorrect admin password. It works when LFS client, LFS server and my program all have the same password, but without admin password in LFS server being set like others it doesn't work.
Is it possible to create a client-side InSim program? For example I connect to remote LFS server. Then I launch my InSim program which connects to my LFS(client)'s InSim, gets my car info, creates buttons and so on.