Hello Benj,
I am configuring the PIC16F936 and want to enable the Pull up in port B. However, I have tried both of below and the compiler fails to compile. Can you advise how to deal with it?
cr_bit(OPTION_REG, WPUEN);
or
OPTION_REGbits.WPUEN = 0;
Thank you.
Allen
PIC16F1936 Pull Up
Moderator: Benj
-
- Posts: 20
- Joined: Mon Apr 24, 2017 3:26 am
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
-
- Posts: 20
- Joined: Mon Apr 24, 2017 3:26 am
- Has thanked: 1 time
- Been thanked: 3 times
- Contact: