Fuel Flow Script
Posted: Fri Jun 01, 2018 1:29 am
o I'm working on implementing the ability to monitor fuel usage ala the article Brent posted by Gil Markum. So I go the fuel flow meter (not the same exact one but a similar one that's interchangeable with the floScan. I wired it up and car runs fine. I copied in the Lua script but am getting an error.
Here is the script as I have cut and pasted from my file:
https://files.mycloud.com/home.php?bran ... uaScript_2
I run the script and get the following error:
[lua] Startup script error: ([string "-- Fuel Total..."]:27.0: 'end' expected (to close 'function' at line 12.0) near '<eof>')
Now, I am a complete moron when it comes to programming and I have zero knowledge of how this stuff works. Always been something I've wanted to learn but for some reason just can't get my head around it.
Help would be greatly appreciated. Remember to explain it to me like I'm 8 years old, assume I know nothing about this stuff...which is a good assumpton.
Thanks
Jay[/url]
Here is the script as I have cut and pasted from my file:
https://files.mycloud.com/home.php?bran ... uaScript_2
I run the script and get the following error:
[lua] Startup script error: ([string "-- Fuel Total..."]:27.0: 'end' expected (to close 'function' at line 12.0) near '<eof>')
Now, I am a complete moron when it comes to programming and I have zero knowledge of how this stuff works. Always been something I've wanted to learn but for some reason just can't get my head around it.
Help would be greatly appreciated. Remember to explain it to me like I'm 8 years old, assume I know nothing about this stuff...which is a good assumpton.
Thanks
Jay[/url]