[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FThatGuyDom00] Github Link [/url][github.com]
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3591163288] Microcontroller Workshop Collection [/url]
Thanks to SentyFunBall for all their help with my lua journey.
Thanks to Trapdoor for the PID function.
This is a lua microcontroller to control the clutch connecting an engine to a generator. It features off/minimum/auto throttle options for the clutch to control how much engine power is used, if any. PID function is pretty barebones comparing your current battery charge delta to how many swatts you're producing, but should manage your throttle better than leaving it at 1 at least.