I ran into a problem with my antique diesel engine controller application for the 40x1, and hope someone might have some suggestions.
The port c outputs come up in a semi random state (mostly on) when power is applied. I can immediately set them low, but thats too late for the air solenoid valves they're connected to. The rest of my code is now fully bench tested and ready to go. This condition occurs even with a program consisting of nothing but a low portc 0. The dirsc command makes no difference on this power up sitution.
I could add hardware to eliminate this power on glitch but I'm hoping someone has found a way to have port C come up off, as the default port does...????
TIA
Bruce M
Snowflake, AZ
The port c outputs come up in a semi random state (mostly on) when power is applied. I can immediately set them low, but thats too late for the air solenoid valves they're connected to. The rest of my code is now fully bench tested and ready to go. This condition occurs even with a program consisting of nothing but a low portc 0. The dirsc command makes no difference on this power up sitution.
I could add hardware to eliminate this power on glitch but I'm hoping someone has found a way to have port C come up off, as the default port does...????
TIA
Bruce M
Snowflake, AZ
Last edited: