Author |
Message |
Topic: PIC12F508 LED |
Philosopher
Replies: 2
Views: 6938
|
Forum: General CCS C Discussion Posted: Tue Mar 16, 2010 3:00 pm Subject: PIC12F508 LED |
Thanks alot!
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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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? |
Topic: DS1307 with FORCE_HW (solved) |
Philosopher
Replies: 6
Views: 8901
|
Forum: 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
... |
|