Hello, a general question,
In my program and in the hardware I am using several components, I have connected a Keypad (eb014) A0 A1 A2 A3 and C0 C1 C2 the keypad is only used the first time the circuit is turned on, only the keypad is re-occupied when you change Parameters, when the program is in a stage where the keypad is not required, can I use the Analog input AN0 (A0) for a sensor, without affecting the program or PIC ? with continuous use or with the passage of time?
Thank You
Enrique
Using a Pin of the PIC for Two Components
-
- Posts: 311
- Joined: Sat Jan 12, 2008 2:08 am
- Has thanked: 104 times
- Been thanked: 47 times
- Contact:
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Using a Pin of the PIC for Two Components
Hi,
Yes, in general, Flowcode components configure (or re-configure) their connected pin(s) when they are initialized or enabled.
You might need to protect the output of the sensor from the output strobes of the keyboard though.
Yes, in general, Flowcode components configure (or re-configure) their connected pin(s) when they are initialized or enabled.
You might need to protect the output of the sensor from the output strobes of the keyboard though.
-
- Posts: 311
- Joined: Sat Jan 12, 2008 2:08 am
- Has thanked: 104 times
- Been thanked: 47 times
- Contact:
Re: Using a Pin of the PIC for Two Components
Hi Leigh, thanks for the response,
Is I needed to know; that could be reconfigured without damage in an operating time.
Best Regards
Enrique
Is I needed to know; that could be reconfigured without damage in an operating time.
Best Regards
Enrique