CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 8 matches
CCS Forum Index
Author Message
  Topic: variable
danspage

Replies: 4
Views: 8081

PostForum: General CCS C Discussion   Posted: Thu Sep 15, 2005 11:10 am   Subject: variable
How do I keep a variables value when the PIC goes to sleep and then is
woke up on pin change?

PIC 12C508

Thanks!
  Topic: PIC 12C508
danspage

Replies: 10
Views: 12136

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2005 2:16 pm   Subject: PIC 12C508
Ver: 3.234

Thanks so much Very Happy

Just got it 2 days ago
  Topic: PIC 12C508
danspage

Replies: 10
Views: 12136

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2005 2:06 pm   Subject: PIC 12C508
Sorry I just one more thing to add

Ver 3.234

Thanks
You Pointed me in the right direction!!!!!
  Topic: PIC 12C508
danspage

Replies: 10
Views: 12136

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2005 2:02 pm   Subject: PIC 12C508
Looks like its not really the TRIS instruction.
  Topic: PIC 12C508
danspage

Replies: 10
Views: 12136

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2005 2:00 pm   Subject: PIC 12C508
I was able to get it to output hex it was a command line switch.::
Thanks
Here's the results:



00155 .................... setup_counters(69,RTCC_DIV_64);
001A 0C45 0 ...
  Topic: PIC 12C508
danspage

Replies: 10
Views: 12136

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2005 1:26 pm   Subject: PIC 12C508
Sorry I'm not using MPLAB

I just have the command line editor.
not sure how to have it output the hex in the lst?
  Topic: PIC 12C508
danspage

Replies: 10
Views: 12136

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2005 12:32 pm   Subject: PIC 12C508
First the old compilier .lst file
.................... setup_counters(69,RTCC_DIV_64);
*
001A: MOVLW 45
001B: MOVWF 07
001C: BTFSS 07.3
001D: GOTO 022
001E: MOVLW 07
001F: CLR ...
  Topic: PIC 12C508
danspage

Replies: 10
Views: 12136

PostForum: General CCS C Discussion   Posted: Wed Sep 14, 2005 11:43 am   Subject: PIC 12C508
I noticed that when I was using the set_counters method to
disable and enable the pull up resistors that an older version used the option instruction. Now the latest version uses TRIS ,

Could s ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group