Are you a fan for “Live For Speed”? If you are, then this simple gear indicator (GI) will be your good assistant, as it can display the gear numbers, fuel warning and rpm limiter on the spot.

Here are the three steps you need to follow:

  1. LFS configuration
  2. Hardware
  3. GI configuration

LFS configuration

This feature is to report the “Dashboard Packets”. Below here is part of the code (You can find the full description in <LFS dir>/doc/InSim.txt).

OutGauge Mode 1 :0-off 1-driving 2-driving+replay

OutGauge Delay 10 :minimum delay between packets (100ths of a sec)

OutGauge IP 127.0.0.1 :IP address to send the UDP packet

OutGauge Port 11111 :IP port

Hardware

It is a 7 segment display, which connected directly to the data pins on the LPT port. Here is the configuration for LPT port:

  • Pin 2-8 (7 pins): the 7 segment display
  • Pin 9: the shift indicator code
  • Pin1, 14, 16,17: The remaining info diodes and you can configure its functions whatever you want.

Note: Use the ULN2083 to protect your LPT and just connected the pin 10 to the +5V directly.

GI configuration

The configuration for GI.exe is stored in “config.txt”. The number in the config file is in this equation: (2^the number of pin). For example: if you shift light diode is on the 3rd pin, then the equation will be, 2^3 = 8 and it will display the result as:

Seg_dot 8

Thus, when you run GI with option “-blank-and-exit”, it will show:

GI.exe -blank-and-exit

Your display is blanked now, and the value of Seg_Off/Ext_pins_off will send to the LPT port.

At the final stage, the GI will immediately exit from the game. [read]

Random Posts