Author |
Message |
Topic: Again RA4 |
ericzuki
Replies: 6
Views: 13933
|
Forum: General CCS C Discussion Posted: Wed Apr 28, 2004 10:33 am Subject: Enquiries |
Can i check with you. Did you put a pull up resistor on RA4 in order to solve the problem or just by adding the following command
bit_clear(TRISLED1); // ra4 is output
bit_clear(LED1); // led is ... |
Topic: Using Hardware Interrupt (INT0) |
ericzuki
Replies: 1
Views: 10724
|
Forum: General CCS C Discussion Posted: Mon Mar 08, 2004 9:41 am Subject: Using Hardware Interrupt (INT0) |
Hi All
I have written a test program on INT0 but I am not able to test it out on the hardware yet due to unavalibility. Can someone be kind enough to tell me whether the code will works.
A push ... |
Topic: Using ECCP as PWM |
ericzuki
Replies: 6
Views: 13998
|
Forum: General CCS C Discussion Posted: Thu Mar 04, 2004 9:41 am Subject: Using ECCP as PWM |
Hi All...
Does anyone knows how to set ECCP to function as PWM just like what is been done to set PWM in CCP Module.
setup_ccp1(CCP_PWM);
setup_timer_2(T2_DIV_BY_16, 255, 1);
duty = 512 ... |
|