Page 1 of 2
Input not working with newest code
Posted: Mon Jan 04, 2016 12:35 am
by Halldorsson
When using the latest code (5.104) for megashift input2 always stays low no matter what, I use the three inputs 1,2,3 for digital shift lever.
The circuit is working properly it gives 5V to processor and 0V when grounded.
When I switch to older code (4.146) everything works as it should.
Anybody has an idea for this?
Stefan
Re: Input not working with newest code
Posted: Mon Jan 04, 2016 1:20 pm
by Bernard Fife
Stefan,
I will have a look on my bench. Could you post a datalog and your MSQ settings file of the problem in the meantime? It is possible that this could be a configuration issue, and a datalog always help eliminate possibilities more quickly.
Lance.
Re: Input not working with newest code
Posted: Mon Jan 04, 2016 1:25 pm
by Bernard Fife
Stefan,
Input 2 isn't working on my bench either (though the input 2 voltage swings from 0 to 5V on the gauge appropriately). Thanks for spotting this and bringing it up. I will fix it and post new code here as soon as I have a fix (it's likely a typo somewhere in the code, but that doesn't necessarily mean it will be easy to find...).
Lance.
Re: Input not working with newest code
Posted: Mon Jan 04, 2016 1:38 pm
by Bernard Fife
Stefan,
This 5.105ti test code and INI should work better for you:
Input 2 now works as it should in limited testing on my bench.
The problem was in the way the code distinguishes between the GPIO hardware and the MicroTCU hardware.
The logic was obviously wrong, but I am not quite sure why it was written that way originally. So I need to figure that out at some point.
Let us know if this doesn't work for you.
Lance.
Re: Input not working with newest code
Posted: Tue Jan 05, 2016 9:16 am
by Halldorsson
Lance
I just tested the new code and everything seems to be working so far.
Thank you for quick response, now I can go on with my project.
Stefan
Re: Input not working with newest code
Posted: Wed Jan 06, 2016 8:37 am
by Bernard Fife
Stefan,
Thanks for letting us know. If there's anything else that doesn't seem right, please post about it and we will get it sorted.
Lance.
Re: Input not working with newest code
Posted: Tue Oct 10, 2017 1:55 am
by slyrye
Input 4 is not working as well on the latest code
Re: Input not working with newest code
Posted: Tue Oct 10, 2017 5:14 pm
by slyrye
There seems to be a problem with Input 4 in TunerStudio there are no selection on the "Predefined Indicators" and Input 4 is non responsive on latest code 5.202, any insights on this? thanks very much
Re: Input not working with newest code
Posted: Fri Oct 13, 2017 7:19 pm
by slyrye
lance are you there brother?
Re: Input not working with newest code
Posted: Sat Oct 14, 2017 4:02 am
by tobmag
looks dead... nothing from anyone, Lance or B&G .....