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 6 matches
CCS Forum Index
Author Message
  Topic: PIC12F508 LED
Philosopher

Replies: 2
Views: 6938

PostForum: General CCS C Discussion   Posted: Tue Mar 16, 2010 3:00 pm   Subject: PIC12F508 LED
Thanks alot! Very Happy

It helped me do it even simplier:

#include <12F508.h>
#FUSES INTRC, NOWDT, NOMCLR, NOPROTECT

void main(void) {
setup_timer_0(0);
output_ ...
  Topic: PIC12F508 LED
Philosopher

Replies: 2
Views: 6938

PostForum: General CCS C Discussion   Posted: Mon Mar 15, 2010 2:54 pm   Subject: PIC12F508 LED
I must have had a total brain meltdown.
I can't even get a LED to light up on a PIC12F508.

I started my project with an PIC12F675.
Just a simple 2hour timer and it worked fine.
Then I changed to ...
  Topic: DS1307 with FORCE_HW (solved)
Philosopher

Replies: 6
Views: 8901

PostForum: General CCS C Discussion   Posted: Fri Feb 16, 2007 12:13 pm   Subject: DS1307 with FORCE_HW (solved)
what type of LCD you are using? i am currently using LCD 2x16 connecting to ds1307.
can this code be used in my application?

based on the software given by philosopher, pin DB0-DB7 of LCD connect ...
  Topic: DS1307 with FORCE_HW (solved)
Philosopher

Replies: 6
Views: 8901

PostForum: General CCS C Discussion   Posted: Sun Jan 28, 2007 10:45 am   Subject: DS1307 with FORCE_HW (solved)
Ahh.. that's it!
Thank you PCM programmer!
  Topic: DS1307 with FORCE_HW (solved)
Philosopher

Replies: 6
Views: 8901

PostForum: General CCS C Discussion   Posted: Sun Jan 28, 2007 10:03 am   Subject: DS1307 with FORCE_HW (solved)
So there is nothing wrong with my code then? Very Happy
  Topic: DS1307 with FORCE_HW (solved)
Philosopher

Replies: 6
Views: 8901

PostForum: General CCS C Discussion   Posted: Sun Jan 28, 2007 8:13 am   Subject: DS1307 with FORCE_HW (solved)
My I2C-communication works just fine until I try to activate the hardware with force_hw. It doesn't even get past the start()-command! Any ideas?

My setup:
CCS version 4.013
PIC16F874A at 20MHz
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group