CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 4 matches
CCS Forum Index
Author Message
  Topic: Timer0 interrupt and adc conversion with pic16f88
mabauti

Replies: 9
Views: 22098

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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&# ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group