Author |
Message |
Topic: ADC reading LOW |
astus
Replies: 8
Views: 13857
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2005 3:37 am Subject: ADC reading LOW |
Thanks guys, The adc is actually reading correctly as shown in the special function registers. It is the compilier that seems to confusing the longs and ints. I will move the #device command under ... |
Topic: ADC reading LOW |
astus
Replies: 8
Views: 13857
|
Forum: General CCS C Discussion Posted: Tue Mar 29, 2005 4:59 pm Subject: ADC reading LOW |
YEah I found the ADC=10 , I also passed the read_adc() to a long, the adc is reading correclty but the complier is not taking the upper bits from the adc high register. I also tried using the #BYTE c ... |
Topic: ADC reading LOW |
astus
Replies: 8
Views: 13857
|
Forum: General CCS C Discussion Posted: Tue Mar 29, 2005 9:56 am Subject: ADC reading LOW |
Hi,
I am having a problem with a pic16f819 reading the ADC. The value is allwways far too low. This is using either the vref tied to 5v and gnd or all analog with the internal Vdd and vss ref. ... |
Topic: GSM,GPRS,EDGE communication |
astus
Replies: 7
Views: 11509
|
Forum: General CCS C Discussion Posted: Mon Mar 21, 2005 4:00 am Subject: GSM,GPRS,EDGE communication |
We use sony ericson gm47 in gprs mode to communicate to the internet. The gm47 takes standard AT commands, I'm told it is simple to send and recieve sms with these engines. |
Topic: Old pcm compiler and newer pics? |
astus
Replies: 1
Views: 4289
|
Forum: General CCS C Discussion Posted: Mon Mar 21, 2005 3:43 am Subject: Old pcm compiler and newer pics? |
Hi, I have CCS PCM C Compiler, Version 3.004 and have foolishly dropped in a newer (pic16f819) into my latest job. The problem is there isn't a header file for this pic. Does my compilier support th ... |
Topic: Efficient and fast math? |
astus
Replies: 7
Views: 14174
|
Forum: General CCS C Discussion Posted: Mon Jul 19, 2004 11:15 pm Subject: Efficient and fast math? |
Thanks for the helpful responses
I was actually using the first method suggested by Ttelmah, it takes about 1.3ms (depending on values) at a clock spped of 4Mhz (1us clock). I haven't tried the do ... |
Topic: Efficient and fast math? |
astus
Replies: 7
Views: 14174
|
Forum: General CCS C Discussion Posted: Mon Jul 19, 2004 12:44 am Subject: Efficient and fast math? |
Hi,
Currently I'm trying to measure the RPM of a turbine. I am setup to use the capture mode on the pic16f877. I have the period of the turbine rotation but how do I determine the RPM so I can d ... |
Topic: Need help with SPI Digital Pot... |
astus
Replies: 50
Views: 58903
|
Forum: General CCS C Discussion Posted: Wed Jan 07, 2004 9:15 pm Subject: Need help with SPI Digital Pot... |
Check the pot data sheet and make sure you are not transmitting the clock to fast. Also look at the time between transmits( packets of data), you may be sending them to rapidly. The pot may still be ... |
Topic: Program flow control and constants |
astus
Replies: 2
Views: 12825
|
Forum: General CCS C Discussion Posted: Tue Jan 06, 2004 10:08 pm Subject: Program flow control and constants |
I'm using pic16f877 and pcm 2.734 |
Topic: Program flow control and constants |
astus
Replies: 2
Views: 12825
|
Forum: General CCS C Discussion Posted: Tue Jan 06, 2004 9:06 pm Subject: Program flow control and constants |
Hi,
I'm having a problem with an if statement. The evaluation of the if condition is incorrect. The code is below
long int egt;
#define START_TEMP_MAX 80L
egt = read_adc();
i ... |
Topic: Question of A/D converter of PIC16F876 |
astus
Replies: 14
Views: 37526
|
Forum: General CCS C Discussion Posted: Tue Nov 18, 2003 10:07 pm Subject: Question of A/D converter of PIC16F876 |
Why not try clamping the analog input with a zener diode and a resistor so that only voltages <8-bits are avaliable for digitization?
Adam |
Topic: EEPROM on pic16f877 |
astus
Replies: 14
Views: 37882
|
Forum: General CCS C Discussion Posted: Tue Nov 18, 2003 4:43 pm Subject: EEPROM on pic16f877 |
Hi,
I'm having a problem writing to the eeprom in a 16f877. I have tried to use the built in function write_eeprom with no luck and also used a another users function eeprom_write that ... |
|