Author |
Message |
Topic: A/D sampling |
sisif85
Replies: 6
Views: 6516
|
Forum: General CCS C Discussion Posted: Fri May 29, 2009 4:13 am Subject: A/D sampling |
Hey.
I made a program after PCM Programmer's algorithm. Here is the program:
#include <16F876.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#use fast_io(A ... |
Topic: A/D sampling |
sisif85
Replies: 6
Views: 6516
|
Forum: General CCS C Discussion Posted: Fri May 29, 2009 2:25 am Subject: A/D sampling |
Hey guys.
When I set up the TIMER2 I was meaning to 1 sample of A/D per millisecond.
Thanks for your prompt answers. |
Topic: A/D sampling |
sisif85
Replies: 6
Views: 6516
|
Forum: General CCS C Discussion Posted: Thu May 28, 2009 7:17 am Subject: A/D sampling |
Hello guys.
I'm confronting with a problem. I'm trying to control a servo-motor. I need in order to move the servo, 128 samples of A/D conversion continuously, one sample of A/D per ms. I need th ... |
Topic: Timers |
sisif85
Replies: 2
Views: 3614
|
Forum: General CCS C Discussion Posted: Wed Apr 15, 2009 6:54 am Subject: Timers |
Hi.
I have a problem. I'm trying to turn on a led for one second and after that to turn off the led, I want to use interrupts in order to do that. But using timers , I don't know how to set them up ... |
|