Page 1 of 1

Firmware input resources

PostPosted: Wed Apr 13, 2016 3:18 am
by aNinjaneer
Is there a way to interact with the Firmware 0-31 input resources? I want to write wheel speeds directly from the OE CAN bus instead of having to use the ECU.Receive like I am now. Are the Firmware inputs reserved only for MoTeC OE modules, or can you interact with them somehow?

Re: Firmware input resources

PostPosted: Wed Apr 13, 2016 9:50 am
by AndrewD
aNinjaneer wrote:Is there a way to interact with the Firmware 0-31 input resources? I want to write wheel speeds directly from the OE CAN bus instead of having to use the ECU.Receive like I am now. Are the Firmware inputs reserved only for MoTeC OE modules, or can you interact with them somehow?


Yes - this type of integration is exactly the purpose of the firmware resources. The library function to set the resource value is:

Code: Select all
System.SetFirmwareResource()

Re: Firmware input resources

PostPosted: Thu Apr 14, 2016 4:35 am
by aNinjaneer
AH! Thanks, Andrew! :) I searched everywhere for something like that in the documentation, and around the M1 Build environment and couldn't find anything. Good to know!

Re: Firmware input resources

PostPosted: Thu Apr 14, 2016 12:14 pm
by AndrewD
We will update the developers manual to fix this oversight.

Regards,

Andrew