Author |
Message |
Topic: How to turn off MCLR (16F819) ? |
sorasit46
Replies: 2
Views: 9737
|
Forum: General CCS C Discussion Posted: Mon Apr 23, 2018 5:03 pm Subject: How to turn off MCLR (16F819) ? |
(Header ) #FUSES NOMCLR
I want MCLR pin (A5) can act as a regular digital input.
When low logic input, The chip will run unreliable, and will shut off on unexpectedly.
Please help.
Best r ... |
Topic: How to setup ADC port on 16F819 ? |
sorasit46
Replies: 5
Views: 15424
|
Forum: General CCS C Discussion Posted: Tue Mar 13, 2018 6:40 pm Subject: How to setup ADC port on 16F819 ? |
Thank you |
Topic: How to setup ADC port on 16F819 ? |
sorasit46
Replies: 5
Views: 15424
|
Forum: General CCS C Discussion Posted: Tue Mar 13, 2018 5:22 pm Subject: How to setup ADC port on 16F819 ? |
Open the 16F819.h file and look at the constants allowed for the setup_adc_ports function.
16f819.h
// Constants used in SETUP_ADC_PORTS() are:
#define NO_ANALOGS ... |
Topic: How to setup ADC port on 16F819 ? |
sorasit46
Replies: 5
Views: 15424
|
Forum: General CCS C Discussion Posted: Tue Mar 13, 2018 8:22 am Subject: How to setup ADC port on 16F819 ? |
Hi!
I am using AN4 for analog input signal.
#include <16F819.h>
#device adc=10
#FUSES INTRC_IO,WDT
#FUSES ... |
Topic: How to pull up port A in 16F819 by program? |
sorasit46
Replies: 3
Views: 5981
|
Forum: General CCS C Discussion Posted: Fri Dec 31, 2010 12:17 am Subject: How to pull up port A in 16F819 by program? |
Thanks and happy new year. |
Topic: How to pull up port A in 16F819 by program? |
sorasit46
Replies: 3
Views: 5981
|
Forum: General CCS C Discussion Posted: Wed Dec 29, 2010 6:16 pm Subject: How to pull up port A in 16F819 by program? |
16F819
port_b_pullups(TRUE);
How to program pull up port A ?
thanks |
Topic: I found the problem.When using the search tool ? |
sorasit46
Replies: 4
Views: 5209
|
Forum: General CCS C Discussion Posted: Sat Dec 18, 2010 11:44 pm Subject: I found the problem.When using the search tool ? |
Haaa!
Thank you
|
Topic: I found the problem.When using the search tool ? |
sorasit46
Replies: 4
Views: 5209
|
Forum: General CCS C Discussion Posted: Sat Dec 18, 2010 10:35 pm Subject: I found the problem.When using the search tool ? |
My search is " interrupts disabled during call to prevent re-entrancy " .
Search tool report 152 page.
Any suggestions about how to use search tool?
Or! Who have any suggestion to solve ... |
Topic: Why 1 command uses alot of Rom? |
sorasit46
Replies: 12
Views: 10051
|
Forum: General CCS C Discussion Posted: Sun Dec 12, 2010 5:21 pm Subject: Why 1 command uses alot of Rom? |
oh! I see.
Heart of this solution is " tables ".
thank you |
Topic: How to write code for convert 2,B,C --> 2BC ? |
sorasit46
Replies: 4
Views: 5098
|
Forum: General CCS C Discussion Posted: Sun Dec 12, 2010 9:46 am Subject: How to write code for convert 2,B,C --> 2BC ? |
Thanks for the help! |
Topic: Why 1 command uses alot of Rom? |
sorasit46
Replies: 12
Views: 10051
|
Forum: General CCS C Discussion Posted: Sun Dec 12, 2010 9:39 am Subject: Why 1 command uses alot of Rom? |
Dbotkin suggest 16F648A .It's good choice. Thank you.
Ttelmah suggest switch to useing integer by generate 'scale integer' ?
How to do? and How I can transferring the required numbers into the t ... |
Topic: Why 1 command uses alot of Rom? |
sorasit46
Replies: 12
Views: 10051
|
Forum: General CCS C Discussion Posted: Sun Dec 12, 2010 7:34 am Subject: Why 1 command uses alot of Rom? |
I'm trial change from float to int .
#include <16F819.h>
#FUSES INTRC_IO
#FUSES WDT
#FUSES NOPUT ... |
Topic: Why 1 command uses alot of Rom? |
sorasit46
Replies: 12
Views: 10051
|
Forum: General CCS C Discussion Posted: Sun Dec 12, 2010 1:17 am Subject: Why 1 command uses alot of Rom? |
How can I do?
Before use this command. My program used 83% of Rom.
When add this command, Compiler report "Out of ROM,A segment or the program is too large".
Any suggestions about how to ... |
Topic: Why 1 command uses alot of Rom? |
sorasit46
Replies: 12
Views: 10051
|
Forum: General CCS C Discussion Posted: Sun Dec 12, 2010 12:37 am Subject: Why 1 command uses alot of Rom? |
What's wrong with this code ?
#include <16F819.h>
#FUSES INTRC_IO
#FUSES WDT
#FUSES NOPUT ... |
Topic: How to write code for convert 2,B,C --> 2BC ? |
sorasit46
Replies: 4
Views: 5098
|
Forum: General CCS C Discussion Posted: Sat Dec 11, 2010 8:37 pm Subject: How to write code for convert 2,B,C --> 2BC ? |
2,B,C = Hex. Value ( Dec. = 700 )
How to write code for convert 2,B,C --> 2BC ?
regards |
|