Author |
Message |
Topic: Doubt about OCx |
pitufos
Replies: 2
Views: 3817
|
Forum: General CCS C Discussion Posted: Tue Jun 28, 2011 5:46 am Subject: Doubt about OCx |
Hi,
I need to generate a 800Khz square wave on OC1 and to be able to set turn on and turn off the square wave.
Using this code, when i turn on the power source, sometimes just generate 6.6Hz and ... |
Topic: Doubt about OCx |
pitufos
Replies: 2
Views: 3817
|
Forum: General CCS C Discussion Posted: Mon Jun 27, 2011 6:43 am Subject: Doubt about OCx |
Hello Guys, I have an application that works sometimes.. ... I need to reset the microcontroller to the application to get to work.
The compiler version is 4.114.
#include <30F3012.h ... |
Topic: Output Compare - dsPIC |
pitufos
Replies: 0
Views: 3666
|
Forum: General CCS C Discussion Posted: Mon Feb 07, 2011 7:09 am Subject: Output Compare - dsPIC |
Hi everyone,
I'm trying to work with dsPIC30F3012 running at 20Mhz(HS2_PLL8) and Output Compare module.
I'm generating pulses between 800KHz and 2MHz using OC1.
//TIMER-PULSE MODE
setu ... |
Topic: Config. AD 16F627A |
pitufos
Replies: 2
Views: 5797
|
Forum: General CCS C Discussion Posted: Tue Mar 15, 2005 8:16 am Subject: Config. AD 16F627A |
yes... i was wrong
thx |
Topic: Config. AD 16F627A |
pitufos
Replies: 2
Views: 5797
|
Forum: General CCS C Discussion Posted: Tue Mar 15, 2005 5:59 am Subject: Config. AD 16F627A |
Hello all..
How to implement AD in 16F627A...
The compiler show this message "Undefined identifier"... in this commands "setup_adc_ports, setup_adc e set_adc_channel"...
I using PCW 3.221.
Thx ... |
Topic: Config A/D Ports |
pitufos
Replies: 4
Views: 10695
|
Forum: General CCS C Discussion Posted: Wed Sep 08, 2004 8:15 am Subject: Config A/D Ports |
I resolve using this code:
SETUP_ADC_PORTS(AN0_TO_AN2_ANALOG);
Same to last message.
Thanks... |
Topic: Config A/D Ports |
pitufos
Replies: 4
Views: 10695
|
Forum: General CCS C Discussion Posted: Wed Sep 08, 2004 8:11 am Subject: Config A/D Ports |
Hi Mark.. thanks for your help...
SETUP_ADC_PORTS(AN0_TO_AN2); ??? are you sure ?
In my compiler(version 3.179) indicate error...
bye..
Leandro |
Topic: Config A/D Ports |
pitufos
Replies: 4
Views: 10695
|
Forum: General CCS C Discussion Posted: Wed Sep 08, 2004 7:45 am Subject: Config A/D Ports |
Hi..
Actually i'm using PIC16C774...
I need.. RA0, RA1 and RA2 be analogs and others digital.
How to do config the ports...
Thanks for your help. |
Topic: Resolution on tmr0 |
pitufos
Replies: 1
Views: 9366
|
Forum: General CCS C Discussion Posted: Tue Jan 06, 2004 10:19 am Subject: Resolution on tmr0 |
Hi
I need your comments on this code...
Well... I need count time spend of complete signal. On this code i can only resolution in ms... I need resolution in us...but much better precision...
# ... |
Topic: I have problem with this example.... |
pitufos
Replies: 2
Views: 13284
|
Forum: General CCS C Discussion Posted: Thu Oct 09, 2003 7:31 am Subject: Re: I have problem with this example.... |
thank's |
Topic: I have problem with this example.... |
pitufos
Replies: 2
Views: 13284
|
Forum: General CCS C Discussion Posted: Thu Oct 09, 2003 6:59 am Subject: I have problem with this example.... |
Hi, look this example....
#include <16C84.H>
#fuses HS,NOWDT,NOPROTECT
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=PIN_A3, rcv=PIN_A2)
#define INTS_PER_SECOND 76 ... |
|