Page 1 of 1
Configuration in flowcode
Posted: Thu Jul 27, 2006 4:45 am
by RAMTEC
Hi, i want to know how i can use a pin that first has been configurate like in put (with push botton) in an out put (leter) without disconnecting the push botton using flowcode in the same flowchart.
Thank
Input/output on 1 IO
Posted: Thu Jul 27, 2006 12:34 pm
by cruzxia
Yes you can do this with a PIC, But you will have to setup your PCB so that it has resistors to prevent damage to the PIC.
In Flowcode you will need to reed the input, and then output so that the IO is 1 or 0 (on or off) You can then switch the output as necessary.
Configuration in flowcode
Posted: Thu Jul 27, 2006 1:42 pm
by RAMTEC
Thankyou Ian.
Yes, i connected an resistor for prevent damage to the pic.
The problem is that when i use the pin like input conecting a push botton, and leter, when i want use the same pin like output (using an output block in flowchat) it is not recognized until the push botton is conected to the pin like input.
How i can solve this problem?
Posted: Mon Jul 31, 2006 9:17 am
by Ian
We use the following system for IO lines on our boards:
