Author |
Message |
Topic: problem with ADC code on 16F877A |
xtina
Replies: 8
Views: 6659
|
Forum: General CCS C Discussion Posted: Mon May 25, 2009 11:27 pm Subject: problem with ADC code on 16F877A |
ya i try it on my line follower robot and works perfectly, but i wanna add my ultrasonic sensor to avoid obstacles.(I try it on another compiler and it works plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz ... |
Topic: problem with ADC code on 16F877A |
xtina
Replies: 8
Views: 6659
|
Forum: General CCS C Discussion Posted: Mon May 25, 2009 3:53 pm Subject: problem with ADC code on 16F877A |
also it didn't work |
Topic: problem with ADC code on 16F877A |
xtina
Replies: 8
Views: 6659
|
Forum: General CCS C Discussion Posted: Mon May 25, 2009 2:31 pm Subject: problem with ADC code on 16F877A |
no it didn't work man |
Topic: problem with ADC code on 16F877A |
xtina
Replies: 8
Views: 6659
|
Forum: General CCS C Discussion Posted: Mon May 25, 2009 1:50 pm Subject: problem with ADC code on 16F877A |
plz what is the solution |
Topic: problem with ADC code on 16F877A |
xtina
Replies: 8
Views: 6659
|
Forum: General CCS C Discussion Posted: Mon May 25, 2009 1:20 pm Subject: problem with ADC code on 16F877A |
#include <16f877a.h>
#device ADC = 10
#fuses xt, noprotect, nowdt, nolvp
#use delay (clock=4000000)
#byte porta=5
#byte portd=8
void main()
{
set_tris_a(1 ... |
Topic: urgent Problem with ADC |
xtina
Replies: 3
Views: 4566
|
Forum: General CCS C Discussion Posted: Thu May 14, 2009 8:12 am Subject: urgent Problem with ADC |
hi I have a problem with ADC,I have an ultrasonic sensor and this ultrasonic sensor gives analog output between 1.3 volt (when object is very close to the sensor) to 2.0 volt (when is no object detect ... |
|