Search the Community
Showing results for tags 'digital input'.
Is there any way to program an interrupt when a digital input pin goes high in WaveForms SDK with Analog Discovery 2 or Digital Discovery? I want to write a code (using WaveForms SDK), with which I wait for a digital input pin to go high. After the pin goes high, I want to continue with the program. Something like the following code: # Some code while (not digitalInputPinIsHigh()): continue # Continue with the program The problem is that the pin's output is a pulse that is only high for 30 μs, so if I continuously check the digital input pin until it goes high, I think I can
Dear Digilent Support Staff,I'm a graduate student at the University of Arizona, and for my Master's Project, I'm designing an irrigation process control system. I'm using a Digilent UC32 microcontroller to read whether or not a switch from a relay contact from a flow meter is either open or closed. I will be using a 5 V power supply, and have read that the digital input pins on the Digilent UC32 can handle 5V at logic levels. I have a few questions: What is the maximum current that is safe for the UC32's digital pins to handle? Do the digital pins have a built-in resist