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!
16f1827 bidirectional pin problem
Moderator: Benj
-
- Flowcode V4 User
- Posts: 36
- Joined: Mon Sep 26, 2011 10:26 pm
- Has thanked: 9 times
- Been thanked: 2 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: 16f1827 bidirectional pin problem
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
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 211 times
Martin
-
- Flowcode V4 User
- Posts: 36
- Joined: Mon Sep 26, 2011 10:26 pm
- Has thanked: 9 times
- Been thanked: 2 times
Re: 16f1827 bidirectional pin problem
Hi Martin!
Thank you for quick response!
I had some problem with my code. Now it works:-)
Best Regards
Thank you for quick response!
I had some problem with my code. Now it works:-)
Best Regards