TRISB = 15
You're only setting RB0-RB3 as inputs
TRISB = 15
You're only setting RB0-RB3 as inputs
You have porta set to output try with resistor 4K7 between RA5 and VCC.
Just a tip for visual people like me:
- use individual bits for fuses, it's much easier to determine which bit is ON or OFF.
For example:
TRISB=%00001111
versus
TRISB=$0F
versus
TRISB=15
Robert
![]()
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Bookmarks