Page 1 of 1

16f1827 bidirectional pin problem

Posted: Mon Jan 23, 2012 6:07 pm
by Dmitry Maximenko
HI,
I use pic16f1827 in a project.
I found that RB7 is not working properly. I've added a routine that lights a LED, among other things. It seems that the program starts and do everything else but RB7 do not want to get high. I also tried to activate it several times but to no avail. I saw similar problems in my previous projeckt with another processor (12 series). Is it a bug in the header file (FCD file)? What could it be?
Grateful for the help!

Re: 16f1827 bidirectional pin problem

Posted: Mon Jan 23, 2012 6:28 pm
by medelec35
What version of Flowcode are you using?
With V4.5 Pro and I can confirm all 8 pins of port B are working on my hardware as I have got a 16F1827 on programming board.
Have you tried measuring B7 on the chip itself with a meter set to volts?
This could then help to eliminate hardware issue.

If your Flowchart is not commercially sensitive, could you post it and I can try on my hardware for you.

Martin

Re: 16f1827 bidirectional pin problem

Posted: Wed Feb 01, 2012 10:05 am
by Dmitry Maximenko
Hi Martin!
Thank you for quick response!
I had some problem with my code. Now it works:-)
Best Regards