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 3 matches
CCS Forum Index
Author Message
  Topic: troubles with resetting pic16f876 with current code
cyclonite

Replies: 11
Views: 11594

PostForum: General CCS C Discussion   Posted: Sun Sep 11, 2005 4:14 pm   Subject: troubles with resetting pic16f876 with current code
1: I have leds on portb

2: if i turn all leds on the proc works fine but when I send an 0x00 to output_b (to turn the leds of) it resets

3: the PIC provides the high level of 5v PWM

4: I beli ...
  Topic: troubles with resetting pic16f876 with current code
cyclonite

Replies: 11
Views: 11594

PostForum: General CCS C Discussion   Posted: Sun Sep 11, 2005 4:16 am   Subject: troubles with resetting pic16f876 with current code
I have located the problem in the function output_bytes();

void output_bytes(int input1,int input2){
output_a(input1 & 0x2f);
output_bit(pin_c5,bit_test(inp ...
  Topic: troubles with resetting pic16f876 with current code
cyclonite

Replies: 11
Views: 11594

PostForum: General CCS C Discussion   Posted: Sat Sep 10, 2005 7:31 am   Subject: troubles with resetting pic16f876 with current code
I am using a pic16f876 to generate pwm outpus for 16 leds.
I can send the settings >> % pwm via i2c.

now i have 4 pre programmed mode's 1=leds off
2= leds 100% on 3= ~20% on 4= the half bu ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group