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 5 matches
CCS Forum Index
Author Message
  Topic: function too big for a ROM page
Daniel1956

Replies: 1
Views: 7937

PostForum: General CCS C Discussion   Posted: Mon Mar 25, 2019 10:06 pm   Subject: function too big for a ROM page
Hi!
I use a PIC16F1789 with the CCS 5.081 compiler.
in a Windows 10.
I have a big function that I can not compile because the compiler informs me that it is very big to be in a page of the ROM.
Th ...
  Topic: breakpoint skip
Daniel1956

Replies: 1
Views: 8231

PostForum: General CCS C Discussion   Posted: Tue Feb 19, 2019 5:28 pm   Subject: breakpoint skip
I've got a problem with debug, where it skips my breakpoint in my code.
I've deactivated global interrupts,
I don't use goto.
I use pic16F1789 with CCS compiler V 5.070.

Any ideas about a poss ...
  Topic: PWM shutdown by #int_RC
Daniel1956

Replies: 8
Views: 15796

PostForum: General CCS C Discussion   Posted: Fri Feb 01, 2019 12:27 pm   Subject: PWM shutdown by #int_RC
Thanks for your help!

Setting RC2 as output by this syntax
#use fixed_io (c_outputs = PIN_C2)
I solved my problem.

THANK YOU again for your quick help WELL appreciated:grin: Very Happy ...
  Topic: PWM shutdown by #int_RC
Daniel1956

Replies: 8
Views: 15796

PostForum: General CCS C Discussion   Posted: Fri Feb 01, 2019 10:26 am   Subject: setup_ccp1 (CCP_PWM);
The PIC is 16F1789
The compiler is PCWHD 5.07
Keyboard row RC4,5,6,7
Keyboard column RD4,5,6,7
It is by interrupting #int_rc that I read the keyboard which is a 4 x 4:

#use delay(clock=3200 ...
  Topic: PWM shutdown by #int_RC
Daniel1956

Replies: 8
Views: 15796

PostForum: General CCS C Discussion   Posted: Thu Jan 31, 2019 11:16 pm   Subject: PWM shutdown by #int_RC
I am using CCP1 to generate a PWM via the following syntax:

setup_timer_2 (T2_DIV_BY_4, 255, 1);
setup_ccp1 (CCP_PWM);
set_pwm1_duty ((int16) 500);

I get a PWM ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group