Dec 6, 2008 #1 S shocman Newbie level 3 Joined Nov 12, 2008 Messages 4 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,304 PICC hi! i did a program in Pic-c and i know that maybe is so basic, therefore is the problem becouse i know that it haves to run right but no, ok this is: while ( !input(PIN_B0) ); { output_high(pin_B4); output_low(pin_B6); gato=1; } while ( !input(PIN_B1) ); output_high(pin_b6); output_low(pin_b4); gato=0; } in advance thankful!!
PICC hi! i did a program in Pic-c and i know that maybe is so basic, therefore is the problem becouse i know that it haves to run right but no, ok this is: while ( !input(PIN_B0) ); { output_high(pin_B4); output_low(pin_B6); gato=1; } while ( !input(PIN_B1) ); output_high(pin_b6); output_low(pin_b4); gato=0; } in advance thankful!!
Dec 6, 2008 #2 A amraldo Advanced Member level 4 Joined Aug 29, 2004 Messages 1,183 Helped 145 Reputation 290 Reaction score 37 Trophy points 1,328 Location Egypt Activity points 5,880 Re: PICC Hi, I do not know about the logic behind your code. But I thik you need to configure your ports correctly to function as input & output according to the function used in your code. BR, Amr.
Re: PICC Hi, I do not know about the logic behind your code. But I thik you need to configure your ports correctly to function as input & output according to the function used in your code. BR, Amr.