Author |
Message |
Topic: 12F683 Development |
ra03
Replies: 5
Views: 7000
|
Forum: General CCS C Discussion Posted: Fri Nov 30, 2012 5:42 am Subject: 12F683 Development |
Thanks everybody for contributing on this one!
OK to make my point clear - my original code:
setup_oscillator(OSC_8MHZ);
set_tris_a(0b00000000);
Set all GPIO as outputs (ex ... |
Topic: 12F683 Development |
ra03
Replies: 5
Views: 7000
|
Forum: General CCS C Discussion Posted: Thu Nov 29, 2012 10:34 am Subject: 12F683 Development |
Thanks Ttelmah
void pulse_int(void){
int1 myvar;
myvar = input(pin_A0);
}
As you suggest this fixes it, although it never goes there!! I did know that it was n ... |
Topic: 12F683 Development |
ra03
Replies: 5
Views: 7000
|
Forum: General CCS C Discussion Posted: Thu Nov 29, 2012 8:13 am Subject: 12F683 Development |
Hello
This is the first time I have needed to use a forum, but this problem has really got me stumped.
I was trying to measure a pulse width using TIMER1, as an internal timer using the gate fun ... |
|