Author |
Message |
Topic: Double Control with two different timer but how? |
mierdogan
Replies: 4
Views: 9664
|
Forum: General CCS C Discussion Posted: Wed Apr 06, 2011 3:04 pm Subject: Double Control with two different timer but how? |
I'll tell you how to do it.
Use the button command program here:
http://www.ccsinfo.com/forum/viewtopic.php?t=23837
Instead of calling printf() as shown in that program, you can setup
a timer ... |
Topic: Double Control with two different timer but how? |
mierdogan
Replies: 4
Views: 9664
|
Forum: General CCS C Discussion Posted: Fri Apr 01, 2011 2:44 pm Subject: Double Control with two different timer but how? |
I'll tell you how to do it.
Use the button command program here:
http://www.ccsinfo.com/forum/viewtopic.php?t=23837
Instead of calling printf() as shown in that program, you can setup
a timer ... |
Topic: Double Control with two different timer but how? |
mierdogan
Replies: 4
Views: 9664
|
Forum: General CCS C Discussion Posted: Fri Apr 01, 2011 3:24 am Subject: Double Control with two different timer but how? |
Hi!
I'm newbie on PIC programming.
I want to prepare little project as below.
I want to control two different leds with two button with a two different timer (timer0 and timer1) but How can ... |
Topic: Error 51 |
mierdogan
Replies: 5
Views: 9709
|
Forum: General CCS C Discussion Posted: Thu Mar 24, 2011 2:26 am Subject: Error 51 |
If you are new to CCS I would get rid of your fast_io and tris() statements. Let the compiler take care of the switching of I/O's. Only start using them when you have much more experience and are su ... |
Topic: Error 28 line 15(11,12) Expecting an identifier |
mierdogan
Replies: 2
Views: 8991
|
Forum: General CCS C Discussion Posted: Wed Mar 23, 2011 3:17 am Subject: Error 28 line 15(11,12) Expecting an identifier |
Hi All,
Can somebody help me for this?
I need all of your help about little code below;
#include <16F877A.h>
#use delay(CLOCK=4000000)
#fuses XT,NOPUT,NOPROTECT,NOBROWNOUT ... |
Topic: Error 51 |
mierdogan
Replies: 5
Views: 9709
|
Forum: General CCS C Discussion Posted: Tue Mar 22, 2011 5:38 am Subject: Error 51 |
Also, functionally, once the interrupt is called, it is never going to exit. Your 'Goto', leaves you looping for ever. Consider 'Goto' instruction, in the same vein, as using a sledgehammer to drive a ... |
Topic: Error 51 |
mierdogan
Replies: 5
Views: 9709
|
Forum: General CCS C Discussion Posted: Tue Mar 22, 2011 4:40 am Subject: Error 51 |
#include <16F877A.h>
#fuses XT,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP,NOPUT,NOWRT,NODEBUG,NOCPD
#use delay(clock=4000000)
#use fast_io(a)
#use fast_io(b)
#define ... |
|