Author |
Message |
Topic: Timer0 interrupt and adc conversion with pic16f88 |
mabauti
Replies: 9
Views: 22098
|
Forum: General CCS C Discussion Posted: Tue Jul 14, 2020 9:46 am Subject: Timer0 interrupt and adc conversion with pic16f88 |
Some hints.
-Real hw or a simulator?
-What is the frequency you convert on the ad?
-What and why is i++ in the interrupt, where is it defined?
-Remove the clear_interrupt in the interrupt service, ... |
Topic: Timer0 interrupt and adc conversion with pic16f88 |
mabauti
Replies: 9
Views: 22098
|
Forum: General CCS C Discussion Posted: Wed Jul 08, 2020 4:20 pm Subject: Timer0 interrupt and adc conversion with pic16f88 |
I'm using a function generator. sine wave, offset +2.2, Vpk 2.2V
and the led disconnected : same result
thx for your answer temtronic |
Topic: Timer0 interrupt and adc conversion with pic16f88 |
mabauti
Replies: 9
Views: 22098
|
Forum: General CCS C Discussion Posted: Wed Jul 08, 2020 3:25 pm Subject: Timer0 interrupt and adc conversion with pic16f88 |
temtronic: I changed it to 8bits, same result
PCM programer, pic
https://i.imgur.com/1p9hDRn.png
and thx for your answers |
Topic: Timer0 interrupt and adc conversion with pic16f88 |
mabauti
Replies: 9
Views: 22098
|
Forum: General CCS C Discussion Posted: Wed Jul 08, 2020 12:05 pm Subject: Timer0 interrupt and adc conversion with pic16f88 |
Hi gentlemen, I hope you're fine:
I'm writing here, because I having a problem with the Timer0 interrupt and adc conversion with pic16f88. Part of the code:
#INT_TIMER0
void timer0_isr(void ... |
|