You have porta set to output try with resistor 4K7 between RA5 and VCC.
Type: Posts; User: Samoele; Keyword(s):
You have porta set to output try with resistor 4K7 between RA5 and VCC.
I use PBP 2.50C and both program sample compiled without problems. "loop variables" by first program working very good. I was trying with "loop1" and was no changed.
hello,
I have program which working perfect on PIC18F242. I wish to changed this program and build to 16F690. I was changed some pins between PIC and now don't working properly. Now couldn't test...
Darrel,
I couldn't see your picture on this thread.
Who can find include file "elapsed.bas"?
I solve this problem.
I was leaved ADCON1 and ADCON0 to unchanged. I changed sampling time to 50us and ADC clock to 3. Now working each channel independed from other.
I use Mister E PIC...
Hello,
I have PIC18F252 and use first 3 analog input with 10 bit resolution. On each input have trimmer 10K resistor between VCC and GND.
If set one or two trimmer to min.(gnd) then couldn't set...
Hi,
I have a simple program and make me problem. After receiving data blinking LED only one cycle and after this cycle LED is off
I would that LED is after receiving data blinking constant. Why...
Frequency of 100 Hz is not a problem. In the case that I use PIC16F886 asking whether the command HPWM10 set timer TMR1 and TMR2 for each channel?
Can you write the registry settings for the...
Hello,
I would have two different frequency on CCP1 and CCP2 pin the first is 100HZ and second is 20Khz-40KHz. I use 1MHz quartz for clock and HPWM10 command from D.T. I use PIC16F876.
I have on...
your defines are ok.
A0 VAR WORD
DEFINE ADC_BITS 10
DEFINE ADC_CLOCK 3
DEFINE ADC_SAMPLEUS 50
TRISA = 255 ' Set PORTA to all input
ADCON1=%10000010 'This gives me 8 bit...
your variable A0 by ADCIN must be defined as word and no as byte
change your ADCON1 =2 with
ADCON1=%10000010
Hello,
I use template from DT for my project. I wish to made simple voltage to frequency converter. AD converter measure voltage and show value from 0-1023 o LCD. On output pin become 2Hz pulse....
hello,
How can use internal TMR for freq. output. I need linear 0-2Khz on output pin. I use 10bit ADC and frequency on out must be independed from ADC sample pause.
Have where resource?
You have problem in software. When show all pixels on display then is contrast ok. Check your data signal
Hi,
3 pin on LCD is normally tied to GND. negative supply is need by extrem contrast or low temperatures.
You can help with PWM from PIC. see Attachment
Samo
where was a problem?
Hello!
I was repaired this problem.
I was copy compiled file on location where have MCS and run it :
thanks Alain
I was repair our routine and result is no unchanged. Here must be another problem :(
show attachment
Hello,
I was made one simple test program with ADC. I have problem with MCS compiled. I don't understand what is wrong with ANSEL = 1 command? Into status line write syntax error!! When disable...
I have made program for using TMR1 on PIC18F242 and is working well. Afterwords I have adjusted for PIC12675 but is not working. Here is sample of the program which is not working. Is the TMR1...
Hello Scott,
I hope that this help you,
1) A string constant is output as a literal string of characters.
2) A numeric value (either a variable or a constant) will send the corresponding...
Thank you for your help. It is working now.
Samo
Hello,
I use two AD channel on PIC 16F877. Until interrupt pulse measure value on channel 0 and channel 1 with 2 ms delay. On AD pins have voltage divider with resistor.(from 9V to 4,5V). Problem...
hello,
Blink led is not prper in my case. My LED has to work all the time in some cases.
could you please paste a link with the same solution? (instant interrupt)
regards
Samo