Originally posted by Acki
View Post
Code:
0000BE00 Analog Inputs code:0000BE00 Analog_In_TPS: .byte 2 ; DATA XREF: code_12B1+2Co code:0000BE00 ; code_21A8+1014o ... code:0000BE01 Analog_In_Battery:.byte 2 ; DATA XREF: code_210C-9E7o code:0000BE01 ; code_2184+2B7o ... code:0000BE02 Analog_In_IAT: .byte 2 ; DATA XREF: code_12B1+42o code:0000BE02 ; code_210C-9D9o code:0000BE03 Analog_In_ETC: .byte 2 ; DATA XREF: code_12B1+37o code:0000BE04 Analog_In_ECU_Pin_39:.byte 2 ; DATA XREF: code_4F5Fo code:0000BE04 ; Coding Plug Pin 2 (Used for NLS activation) code:0000BE05 Analog_In_ECU_Pin_43:.byte 2 ; DATA XREF: code_210C-9C9o code:0000BE05 ; Use for MAP sensor in speed density. code:0000BE06 Analog_In_ECU_Pin_46:.byte 2 ; DATA XREF: code_210C-9BAo code:0000BE06 ; Uses.... code:0000BE06 ; -Input for wideband for data logging code:0000BE06 ; -Input for map switching code:0000BE06 ; -Boost cut (Safety Feature) code:0000BE07 Analog_In_Lambda:.byte 2 ; DATA XREF: code_2C22+4o
Oh and what i did in the PRJ's logging to make AN6 (ECU pin 46) work is this....
I changed this long call in the data logging output code to a new spot in the code where i could add the code to reference AN6.
Code:
code:00008198 lcall code_82D8
Than all i did was make it reference AN6 like this. its that simple. i just re-purposed code PRJ originally put in place for referencing the MAF.
Code:
code:000082D8 ; =============== S U B R O U T I N E ======================================= code:000082D8 code:000082D8 code:000082D8 code_82D8: ; CODE XREF: code_8150+48p code:000082D8 mov DPTR, #0xBE06 code:000082DB lcall code_17CF code:000082DE ret code:000082DE ; End of function code_82D8 code:000082DE code:000082DE ; ---------------------------------------------------------------------------
Also if your using the zeitronix ZT-2 or ZT-3 this is the equation i came up with and use in both tuner pro and winlog to make both logging suites display the AFR properly.
Code:
(((X* 0.0196078) - 0.4)*2) + 10
Comment