16f1827 bidirectional pin problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Dmitry Maximenko
Flowcode V4 User
Posts: 36
Joined: Mon Sep 26, 2011 10:26 pm
Has thanked: 9 times
Been thanked: 2 times
Contact:

16f1827 bidirectional pin problem

Post 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!

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16f1827 bidirectional pin problem

Post 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
Attachments
16F1827.fcf
(4.5 KiB) Downloaded 199 times
Martin

Dmitry Maximenko
Flowcode V4 User
Posts: 36
Joined: Mon Sep 26, 2011 10:26 pm
Has thanked: 9 times
Been thanked: 2 times
Contact:

Re: 16f1827 bidirectional pin problem

Post by Dmitry Maximenko »

Hi Martin!
Thank you for quick response!
I had some problem with my code. Now it works:-)
Best Regards

Post Reply