Trying to read digital input with F28379D LaunchPad
Hello everyone.
I’m using the F28379D LaunchPad in Simulink and I want to read some Digital Inputs to read the pulses of a quadrature encoder and make a pulse count. I know that the board has built in pins to read quadrature encoder but I want to try reading it by the digital input pins. The problem is that I put a Scope and a Display and the value doesn’t change. I already checked that the encoder works, I tried input a square signal, even using a push button with pull-down resistor and the value doesn’t change at all. Here is the piece of code of what I am doing.
Hope someone can help me. Thanks in advance.Hello everyone.
I’m using the F28379D LaunchPad in Simulink and I want to read some Digital Inputs to read the pulses of a quadrature encoder and make a pulse count. I know that the board has built in pins to read quadrature encoder but I want to try reading it by the digital input pins. The problem is that I put a Scope and a Display and the value doesn’t change. I already checked that the encoder works, I tried input a square signal, even using a push button with pull-down resistor and the value doesn’t change at all. Here is the piece of code of what I am doing.
Hope someone can help me. Thanks in advance. Hello everyone.
I’m using the F28379D LaunchPad in Simulink and I want to read some Digital Inputs to read the pulses of a quadrature encoder and make a pulse count. I know that the board has built in pins to read quadrature encoder but I want to try reading it by the digital input pins. The problem is that I put a Scope and a Display and the value doesn’t change. I already checked that the encoder works, I tried input a square signal, even using a push button with pull-down resistor and the value doesn’t change at all. Here is the piece of code of what I am doing.
Hope someone can help me. Thanks in advance. simulink MATLAB Answers — New Questions