[SOLVED] so now what am I doing wrong (trying to use INTOSC)

Status
Not open for further replies.

techristian

Member level 1
Joined
Apr 3, 2013
Messages
41
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Windsor, Ontario
musicinit.com
Activity points
1,612
so now what am I doing wrong (trying to use INTOSC)????

I HAVE NO CRYSTALS YET. So I'm using INTOSC. I'm not expecting the segments to make any sense at this point. I just want to display different patterns on a single DIGIT 7 segment display. I have set up PORTC to power it and I'm trying to drive it directly from PORTC without buffering to memory.

Right now, when I power up the PIC16F1784 NOTHING HAPPENS !



- - - Updated - - -

Ok I just noticed something here.

MY TRIS COMMANDS ARE GONE.

I put them in lines 34 and 35 but they don't show up in the disassembly.
TRIS 5 ;set PortA all outputs
TRIS 7 ;set PortC all outputs

Dan
 
Last edited:

TRIS 5 ;set PortA all outputs
TRIS 7 ;set PortC all outputs
Did you selected bank1 where it resides? Error level 302 gives an error if it not suppressed.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…