New, what have I done wrong? :(

Status
Not open for further replies.
BC is the better of the provinces.
Huh? Are there other provinces? lol

Yea, futz, had some similar experience, was probably a corner of the eye thing too. (gotta love it)

I think, 43617373, that you have it set for internal R-C with clock out....
 
Last edited:
I see Bananasiong was suggesting the exact same thing as us on page 1 here.
 
Last edited:
Code:
	     bsf	      STATUS, RP0
		clrf	         TRISB
		clrf	         ANSEL
		bsf		OSCCON,IRCF2
		bsf		OSCCON,IRCF1
		bsf		OSCCON,IRCF0
		bcf		STATUS,	RP0


Is this the correct way to select back 1? It seemed to be working but now when I try to build it, it does not think that the bank has been switch and gives me this error.

What is the correct method of doing this? really wish I wasn't the only person I know that knows anything at all about electronics.



Edit: very sorry after a couple of hours reading the data sheet I found that I wrote Status
 
Last edited:
43617373 said:
Is this the correct way to select bank 1?
Yes. Those are just warnings, reminding you that you might have forgotten to switch banks. They can be disabled if you want, but it's probably good to be reminded.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…