Request: DBW ( Drive By Wire ) Code & Schematic Examples

Hi I'm looking for a few working DBW code & schematic examples if anyone wouldn't mind sharing.

I've built a few simple stepper motor controllers to somewhat prepare for this. I built them by reviewing, editing and combining other code examples I found. I haven't been able to find any working DBW specific code examples however.

I have a Subaru oem pedal setup and Subaru DBW throttle body for testing purposes. Starting off I'm just wanting to build the controller to use it as an exhaust cut out, then another version in a charge pipe to relieve boost pressure, then eventually once everything is refined as a throttle body control in a offroad RC project.

I'm currently using a Sunfounder UNOr3 starter kit and a Dual H Bridge L298N motor driver

Any help code or schematic wise would be greatly appreciated.

Thanks for your time

Bump? Any help would be greatly appreciated guys

Thank you