Author |
Message |
Topic: Please help for a simple code to read buttons. |
ssaguiar
Replies: 14
Views: 23318
|
Forum: General CCS C Discussion Posted: Mon Jul 19, 2010 8:50 pm Subject: Please help for a simple code to read buttons. |
I know this is not a assembler forum, but, the code below, in asm, work with debounce, autorepeat and 2 levels of turbo.
It can be easily ported to C. I will do it and also post here.
In the example ... |
Topic: Please help for a simple code to read buttons. |
ssaguiar
Replies: 14
Views: 23318
|
Forum: General CCS C Discussion Posted: Thu Jun 24, 2010 5:36 pm Subject: Please help for a simple code to read buttons. |
Thanks, PCM programmer.
You are very kind to share this.
Sergio |
Topic: Please help for a simple code to read buttons. |
ssaguiar
Replies: 14
Views: 23318
|
Forum: General CCS C Discussion Posted: Thu Jun 24, 2010 3:38 pm Subject: Please help for a simple code to read buttons. |
No, I started in C, and has already some coding in ccs.
You can see it at:
http://www.ccsinfo.com/forum/viewtopic.php?t=42730&highlight=
I will continue in C, because can't make it work in asm. |
Topic: Please help for a simple code to read buttons. |
ssaguiar
Replies: 14
Views: 23318
|
Forum: General CCS C Discussion Posted: Thu Jun 24, 2010 3:24 pm Subject: Please help for a simple code to read buttons. |
In reality, at this moment, I am trying to do it in asm, but I am experimenting problems with timing.
I need a code where I have auto-repeat 1 per second during 2 seconds, ad, after these 2 seconds, ... |
Topic: Please help for a simple code to read buttons. |
ssaguiar
Replies: 14
Views: 23318
|
Forum: General CCS C Discussion Posted: Wed Jun 23, 2010 10:11 pm Subject: Please help for a simple code to read buttons. |
Dear PCM programmer:
Can you tell where we can see the version with auto-repeat?
It will be very useful for me.
Thank you very much.
Sergio |
Topic: Electronic oven program not working |
ssaguiar
Replies: 7
Views: 9611
|
Forum: General CCS C Discussion Posted: Fri Jun 04, 2010 2:45 pm Subject: Electronic oven program not working |
Thank you PCM programmer, I will give a look. |
Topic: Electronic oven program not working |
ssaguiar
Replies: 7
Views: 9611
|
Forum: General CCS C Discussion Posted: Fri Jun 04, 2010 8:48 am Subject: Electronic oven program not working |
Nobody?
Please, I need, if possible, that someone just give a clue on a way to make the keys being read.
Thanks |
Topic: Electronic oven program not working |
ssaguiar
Replies: 7
Views: 9611
|
Forum: General CCS C Discussion Posted: Thu Jun 03, 2010 11:30 am Subject: Electronic oven program not working |
Hi and thanks for your help.
I made some mods, as indicated by our friends rnielsen and FvM.
I just can't make keys work as expected.
I want to make this:
- if one key is pressed once, increase ... |
Topic: Electronic oven program not working |
ssaguiar
Replies: 7
Views: 9611
|
Forum: General CCS C Discussion Posted: Thu Jun 03, 2010 8:18 am Subject: Electronic oven program not working |
Thanks FvM.
I will try to do the way you are indicating.
The major problem is that the original ciruit is somehow messy.
I think that the manufacturer could have used another processor so the digit ... |
Topic: Electronic oven program not working |
ssaguiar
Replies: 7
Views: 9611
|
Forum: General CCS C Discussion Posted: Wed Jun 02, 2010 7:44 pm Subject: Electronic oven program not working |
Hi to all.
I am working in the implementation of a firmware for an electronic oven.
It uses the pic16f677.
One big problem is that the circuit has 3 devices attached at each of i/o ports:
1 - se ... |
Topic: 2 serials problem. |
ssaguiar
Replies: 0
Views: 3908
|
Forum: General CCS C Discussion Posted: Mon Mar 01, 2010 9:31 pm Subject: 2 serials problem. |
Dear friends:
I am trying to implement a data logger (gps and adc), and, to achieve this, I need to:
-In the gps side, I use the hardware usart with interrupts;
-In the other side, i need to send ... |
|