Bug at programmable Outputs

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
Speedy_G
Experienced MS/Extra'er
Posts: 195
Joined: Fri Aug 01, 2014 8:30 am

Bug at programmable Outputs

Post by Speedy_G »

Hello,

i've discovered following problem:

When i enable the PP2Idle my PP3-Boost output gets always active.


More Background:
I use the PP3 Boost for a green LED, which is active for gear = 0 (Neutral)
The PP2-Idle is orange LED, which is active when rpm >12.000

When i set only the green LED alone (Boost) there is no problem and everything is working like it should.
But when i hit the checkbox to enable the PP2-Idle output setting my PP3 (green LED) is burning, no matter the PP3 setting there.
Its not a connection problem, as the green light does not burn, when the PP3 output is deactivated. (And pp2 conditions are not met)

Its the MS3 1.4.0 Source Code.

Turning the MS on and off doesnt help.
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Bug at programmable Outputs

Post by jsmcortina »

:msq:
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Speedy_G
Experienced MS/Extra'er
Posts: 195
Joined: Fri Aug 01, 2014 8:30 am

Re: Bug at programmable Outputs

Post by Speedy_G »

Tune
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Bug at programmable Outputs

Post by jsmcortina »

I've investigated and confirmed that something strange is going on.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Bug at programmable Outputs

Post by jsmcortina »

This is a very old bug in the way "=" is handled. As a workaround use "< 1" instead of "= 0". It will be resolved in the next releases.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Speedy_G
Experienced MS/Extra'er
Posts: 195
Joined: Fri Aug 01, 2014 8:30 am

Re: Bug at programmable Outputs

Post by Speedy_G »

okay thanks, i will try it and report.

Edit: its working.
Post Reply