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 11 matches
CCS Forum Index
Author Message
  Topic: timer0()
random guy

Replies: 11
Views: 8782

PostForum: General CCS C Discussion   Posted: Wed Jun 06, 2007 8:08 pm   Subject: timer0()
ok great those tips really helped, A3 is a button actually, at least for the moment. later i am going to exchange it with a light sensor and set it up such that i can pick up the reflections of water ...
  Topic: timer0()
random guy

Replies: 11
Views: 8782

PostForum: General CCS C Discussion   Posted: Tue Jun 05, 2007 11:23 pm   Subject: timer0()
well that was more or less just a test to see if it was counting microseconds, nanoseconds or something. since adding delaylength (which was 2) to time (some number) and dividing it by 2 was producin ...
  Topic: timer0()
random guy

Replies: 11
Views: 8782

PostForum: General CCS C Discussion   Posted: Tue Jun 05, 2007 9:13 pm   Subject: timer0()
hmm well i changed the clock to

#use delay (clock=8000000)

but it still was experiencing the same problem of seemingly not continueing the led sequence. in my last test i tried dividing the ...
  Topic: timer0()
random guy

Replies: 11
Views: 8782

PostForum: General CCS C Discussion   Posted: Tue Jun 05, 2007 9:32 am   Subject: timer0()
well i am kinda new to this but i looked at the beginning of the data sheet

http://ww1.microchip.com/downloads/en/devicedoc/41262A.pdf

and on page 3 it says

Operating speed:
- DC – 20 MH ...
  Topic: timer0()
random guy

Replies: 11
Views: 8782

PostForum: General CCS C Discussion   Posted: Mon Jun 04, 2007 10:06 pm   Subject: timer0()
hello, i want to use the timer (timer0) for the 16f690 in order to keep track of the amount of time in between interrupts (in this case the inturrupt happens when a button is pressed). when the intur ...
  Topic: help with setup_comparator + setup_vref
random guy

Replies: 9
Views: 15905

PostForum: General CCS C Discussion   Posted: Mon Jun 04, 2007 9:40 pm   Subject: thanks a lot
yay i followed your guidelines and it worked, thanks a lot. you have taught me a lot, thank you very much for everything.

i am now off to continue to improve the code and see if i can get it to ...
  Topic: help with setup_comparator + setup_vref
random guy

Replies: 9
Views: 15905

PostForum: General CCS C Discussion   Posted: Sun Jun 03, 2007 8:05 pm   Subject: help with setup_comparator + setup_vref
thanks i think it is getting closer to working. i used that fuse along with some i saw in an example file somewhere. the problem with the button halting everything is fixed now but the problem where ...
  Topic: help with setup_comparator + setup_vref
random guy

Replies: 9
Views: 15905

PostForum: General CCS C Discussion   Posted: Sun Jun 03, 2007 5:13 pm   Subject: help with setup_comparator + setup_vref
hmmm ok getting closer i think. i tried replaceing my setupcompare statement with yours and made the setup_vref statement its own line (as in the following).

the inturrupt is sorta working in that ...
  Topic: help with setup_comparator + setup_vref
random guy

Replies: 9
Views: 15905

PostForum: General CCS C Discussion   Posted: Sat Jun 02, 2007 4:32 pm   Subject: help with setup_comparator + setup_vref
Version 4.013, so i guess that isnt the most recent.

For your first test program, I would not try to use interrupts.
Just blink the LEDs.

quote thanks for the tip, will play around more with t ...
  Topic: help with setup_comparator + setup_vref
random guy

Replies: 9
Views: 15905

PostForum: General CCS C Discussion   Posted: Sat Jun 02, 2007 7:12 am   Subject: help with setup_comparator + setup_vref
here is a picture of the kit i have

http://www.arrowne.com/innov/in83/pics/c9i18_microchip_image1.jpg

thanks for the help.
  Topic: help with setup_comparator + setup_vref
random guy

Replies: 9
Views: 15905

PostForum: General CCS C Discussion   Posted: Sat Jun 02, 2007 7:09 am   Subject: help with setup_comparator + setup_vref
hello i am working on my first pic program. i am using the pic16f690. my board has 4 leds at c0,c1,c2,c3 and a button on a3.

just to get my feet wet i wanted to test out turning on the leds in or ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group