LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use Analog pin as digital pin Arduino

Hi there, 

 

Actually i am having problem, i need to use drive a stepper motor using A0 and A1 pins of the Arduino Mega ( and that's because i have a shield RAMPS1.4 so i can't change the configuration of the integrated circuit). 

I have tried to introduce the A0 and A1 as pin number 54 and pin 55 but it didn't work.

I was thinking about how to convert or how to use analog pins as digital pins? 

Looking forward for your kindly advice. 

Thanks.

If may please check the attached files below.

 

0 Kudos
Message 1 of 2
(2,081 Views)

DALIXX,

 

Thank you for posting on our forums. It sounds like you might be using the LabVIEW Interface for Arduino (LIFA) toolkit, which has its own dedicated discussion page here

 

I recommend you re-post your question on that page as you'd likely have better luck in getting a response from users who are more experienced with using Arduino boards with LabVIEW.

Patrick O.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,024 Views)