Push Button Intermittent
Re: Push Button Intermittent
If you want the first press to increment from wherever the simulator is set for the oat/volts position then you will need to read the dataref initially to get them in sync. It doesn’t hurt to keep it there either just in case they ever get out of sync again. Saying that though the sim will follow the AM value as soon as the button is pressed so you would only lose a small thing if you omit it.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: Push Button Intermittent
I put it all back together piece by piece and tested incrementally. The last piece put in was the 44780 4x20 display and that turned out to be the problem. After it was plugged in, the physical push button no longer worked. I took it out and rechecked -- everything worked including the physical push button. I replace it with another display (2x16) and everything worked fine. My electronics knowledge is no better than my coding but obviously there's some interference, noise or a communication issue caused by that particular LCD display. I would have never made that connection so this exercise was worthwhile and I learned a few things related to coding so that's a plus. Thanks again for the help and support, much appreciated!
Re: Push Button Intermittent
Glad you got to the root cause in the end.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D