Status: Just an idea
YouTube video: QKp0bWfGU7w
In the video: Racing simulator rFactor and XMOS XC-5 development kit.
How is it done: There is a custom plugin added to the game that gets all telemetry data every frame (up to 90fps). The plugin extracts RPM information and sends it down a virtual RS232 COM port, which gets into the XC-5 board via the USB cable. There is a little XC program running on the XC-5 that drives the LED circle with PWM based on the RPM information. I can't possibly use any more acronyms to look educated.
Virtual COM port - FTDI D2XX programming guide
Windows API or your favourite source
rFactor example plugins and notes
Thread explaining some issues with rFactor's plugin interface
BUILDING.txt - instructions on compiling the plugin DLL and XC-5 firmware
README.txt - this page
source.tar - source for the plugin DLL and XC-5 firmware
plugin.dll.zip - rFactor plugin binary (zipped because current xmoslinkers.org doesn't support files gt 512KB)
firmware.xe - XC-5 firmware binary
XCore Project reviews, ideas, videos and proposals.
1 post • Page 1 of 1