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 7 matches
CCS Forum Index
Author Message
  Topic: pin B3 on 18f45k22
tysie

Replies: 2
Views: 8588

PostForum: General CCS C Discussion   Posted: Thu Jan 04, 2018 2:38 pm   Subject: pin B3 on 18f45k22
Solved,

It is a copied project in mplab,
But it looks like it takes the header file of the old project.
  Topic: pin B3 on 18f45k22
tysie

Replies: 2
Views: 8588

PostForum: General CCS C Discussion   Posted: Thu Jan 04, 2018 2:34 pm   Subject: pin B3 on 18f45k22
When i tie the pin directly to VCC a current of 50mA flows through it
  Topic: pin B3 on 18f45k22
tysie

Replies: 2
Views: 8588

PostForum: General CCS C Discussion   Posted: Thu Jan 04, 2018 2:20 pm   Subject: pin B3 on 18f45k22
Hi,

I try to use B3 as an input.
Everything works fine as an output, but now I connected a 10k pull-up resistor and a hall switch to the port, but the port is always low.
If i use only a pull-up ...
  Topic: using C1 on 18F45k22
tysie

Replies: 4
Views: 12163

PostForum: General CCS C Discussion   Posted: Thu Dec 21, 2017 4:53 am   Subject: using C1 on 18F45k22
part of the main:

setup_adc_ports(sAN11);
setup_adc(ADC_CLOCK_DIV_2|ADC_TAD_MUL_0);

setup_timer_1(T1_INTERNAL|T1_DIV_BY_2); //32,7 ms overflow

set ...
  Topic: using C1 on 18F45k22
tysie

Replies: 4
Views: 12163

PostForum: General CCS C Discussion   Posted: Thu Dec 21, 2017 4:16 am   Subject: using C1 on 18F45k22
Hi,

I want to use C1 as a normal output at the 18F45K22.
I cannot use it because by default it is used for SOSCI.
How can I disable SOSCI and use the pin as an output in ccs?
  Topic: Problem pin2 pic12f519
tysie

Replies: 3
Views: 10735

PostForum: General CCS C Discussion   Posted: Tue Nov 14, 2017 12:15 pm   Subject: solved
I solved it with the options register.
Thanks
  Topic: Problem pin2 pic12f519
tysie

Replies: 3
Views: 10735

PostForum: General CCS C Discussion   Posted: Tue Nov 14, 2017 10:13 am   Subject: Problem pin2 pic12f519
Hi,

I want to toggle some pins.
I did the following:

output_toggle(LIFELED);
output_toggle(SERVO);
output_toggle(LIGHTOUTPUT);

And my header:
#use delay(intern ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group