Author |
Message |
Topic: Scanning many keys with one input |
glavic
Replies: 4
Views: 6933
|
Forum: General CCS C Discussion Posted: Thu Aug 04, 2005 11:25 am Subject: Scanning many keys with one input |
I found another way, without the use of timer.
#include <12F675.h>
#device ADC=8
#fuses NOWDT, PUT, NOPROTECT, NOCPD, NOMCLR, XT
#use delay(clock=4000000)
#use rs232(baud=9600 ... |
Topic: Scanning many keys with one input |
glavic
Replies: 4
Views: 6933
|
Forum: General CCS C Discussion Posted: Tue Aug 02, 2005 4:33 pm Subject: Scanning many keys with one input |
Like i said, i am new to the CCS.
1. Configure GP2 to output a low voltage to
discharge capacitor through I/O resistor.
output_low(PIN_A2);
2. Configure GP2 as one comparator input and
CVREF ... |
Topic: Scanning many keys with one input |
glavic
Replies: 4
Views: 6933
|
Forum: General CCS C Discussion Posted: Tue Aug 02, 2005 1:20 pm Subject: Scanning many keys with one input |
Hi,
i am new to the CCS and i am interested in how to make "trick" with CCS showed on the picture > http://www.shrani.si/pics/tip58433.jpg |
Topic: PIC16F628A and LCD driver |
glavic
Replies: 6
Views: 9677
|
Forum: General CCS C Discussion Posted: Thu Jul 14, 2005 4:08 am Subject: PIC16F628A and LCD driver |
When I tried to compile the source code vermontficks.com
the compiler said that "cSkip" is undefined.
I have read through again the source code, and i have no idea what is that.
btw, i commented ... |
Topic: PIC16F628A and LCD driver |
glavic
Replies: 6
Views: 9677
|
Forum: General CCS C Discussion Posted: Wed Jul 13, 2005 4:43 pm Subject: PIC16F628A and LCD driver |
If you want to do it that way, then study Jon Ficks driver for ideas.
He's using a similar method:
http://www.vermontficks.org/lcdc2.htmTnx, it works. |
Topic: PIC16F628A and LCD driver |
glavic
Replies: 6
Views: 9677
|
Forum: General CCS C Discussion Posted: Wed Jul 13, 2005 10:56 am Subject: PIC16F628A and LCD driver |
I am writing my own LCD driver, because driver included in CCS inst alowing you to define each pin.
main.c
#include <16F628A.h>
#fuses NOWDT, PUT, NOPROTECT, BROWNOUT, NOMCLR, NOLVP, INTRC_ ... |
Topic: dallas onewire primitives library and ds1822 driver code |
glavic
Replies: 8
Views: 107902
|
Forum: Code Library Posted: Wed Jul 13, 2005 6:34 am Subject: dallas onewire primitives library and ds1822 driver code |
function onewire_readbyte()
int onewire_readbyte() {
int count, data;
//static int debugR;
onewire_disable_interrupts(TRUE);
for (count=0; count<8; ++count ... |
|