MikeJuiletGolf
Member
Hi Guys
I would really appreciate some advice/guidance/help with a problem.
I am using a teensy 3.6 with 2 encoders without switches, 4 encoders with switches and 14 momentary push buttons plus a i2c MCP23017 with 6 encoders without switches and 1 encoder with a switch all interfacing with x-plane, and generally working very nicely. Also, I’m reading x-plane’s status and turning on the pin 13 LED.
It’s all set up on a couple of breadboards, I had a lot of wiring issues with the MCP23017 but it seems OK now after swapping out the breadboard and IC, except for the problem.
My problem is, SOMETIMES the Teensy hangs when rotating an encoder a couple of full turns OR after 10 or 20 minutes have passed.
Both issues are very intermittent and can be resolved by unplugging and replugging the usb cable.
Not sure how to go about debugging this, I don’t find it easy to debug Arduino sketches and short of debugging it don’t really know what I can test to try and track the issue down. I don’t have access to or the ability to use fancy test equipment.
I can post a fritzing and code if its any help.
Malcolm
I would really appreciate some advice/guidance/help with a problem.
I am using a teensy 3.6 with 2 encoders without switches, 4 encoders with switches and 14 momentary push buttons plus a i2c MCP23017 with 6 encoders without switches and 1 encoder with a switch all interfacing with x-plane, and generally working very nicely. Also, I’m reading x-plane’s status and turning on the pin 13 LED.
It’s all set up on a couple of breadboards, I had a lot of wiring issues with the MCP23017 but it seems OK now after swapping out the breadboard and IC, except for the problem.
My problem is, SOMETIMES the Teensy hangs when rotating an encoder a couple of full turns OR after 10 or 20 minutes have passed.
Both issues are very intermittent and can be resolved by unplugging and replugging the usb cable.
Not sure how to go about debugging this, I don’t find it easy to debug Arduino sketches and short of debugging it don’t really know what I can test to try and track the issue down. I don’t have access to or the ability to use fancy test equipment.
I can post a fritzing and code if its any help.
Malcolm