04-13-2021 04:32 PM
Hello
I am doing my bachelor thesis and I need to use the analog pins as digitial pin in Arduino nano by Labview Linx but it doesnt work. Can somebody helb me to solve this problem ??
In the webpage of Arduino stand it is doable to use the analog pins as digitial pin in Arduino nano but it doesnt work by Labview
Please help me
04-13-2021 04:40 PM - edited 04-13-2021 04:42 PM
Well the first thing that comes to my mind is you can only use the analog inputs as digital INPUTS.
I think from a programming aspect you would still have to treat them as reading an analog value but say if it's over 4.5 volts it is a 1 or High and if it ls lower than say 0.5 volts it is a 0 or Low.