Author |
Message |
Topic: Handling Negtive numbers |
cam_male2003
Replies: 1
Views: 3000
|
Forum: General CCS C Discussion Posted: Fri Oct 20, 2006 10:36 am Subject: Handling Negtive numbers |
Hi All:
I feel stupid asking this question, how do you handle negitive numbers. I have an if statement the says if(pressure<LoPoint){lo_point_flag=1;} When the pressure is negitive it does not ... |
Topic: PIC18lf2520 Setting the fuses to use Internal OSC |
cam_male2003
Replies: 5
Views: 9445
|
Forum: General CCS C Discussion Posted: Thu Aug 31, 2006 1:31 pm Subject: JUST THANKING EVERYONE |
THANKS FOR THE HELP! |
Topic: PIC18lf2520 Setting the fuses to use Internal OSC |
cam_male2003
Replies: 5
Views: 9445
|
Forum: General CCS C Discussion Posted: Wed Aug 30, 2006 5:38 am Subject: PIC18lf2520 Setting the fuses to use Internal OSC |
I was refering to using the internal Xtal on the chip. |
Topic: PIC18lf2520 Setting the fuses to use Internal OSC |
cam_male2003
Replies: 5
Views: 9445
|
Forum: General CCS C Discussion Posted: Fri Aug 11, 2006 11:29 am Subject: PIC18lf2520 Setting the fuses to use Internal OSC |
Hi all:
Anyone know how to configure a pic18lf2520 to use the internal Crystal?
 |
Topic: Converting LCD code from Pic16F76 to pic16f876 |
cam_male2003
Replies: 0
Views: 3025
|
Forum: General CCS C Discussion Posted: Thu Aug 10, 2006 1:12 pm Subject: Converting LCD code from Pic16F76 to pic16f876 |
I need a 10 bit ADC so I thought I would update to a PIC16f876. But now my display does not work, it is blank.. I tried to use pic18f2520 also with the same results.. When I use the pic16f76 everythi ... |
Topic: LCD Init problem I changed my Xtal speed from 3.68mhz to 25 |
cam_male2003
Replies: 3
Views: 6770
|
Forum: General CCS C Discussion Posted: Mon May 22, 2006 10:49 am Subject: LCD Init problem I changed my Xtal speed from 3.68mhz to 25 |
I will try that, thanks
 |
Topic: LCD Init problem I changed my Xtal speed from 3.68mhz to 25 |
cam_male2003
Replies: 3
Views: 6770
|
Forum: General CCS C Discussion Posted: Fri May 19, 2006 6:37 am Subject: LCD Init problem I changed my Xtal speed from 3.68mhz to 25 |
I researched this in the forum and tried removing the tris, removing the fast IO, and still have the same issue. The display comes up blank or two rows of squares. After I reset the unit multiple ti ... |
Topic: RDA Interrupt not working |
cam_male2003
Replies: 2
Views: 8936
|
Forum: General CCS C Discussion Posted: Tue Apr 18, 2006 1:19 pm Subject: RDA Interrupt not working |
thank you.. I will get the second one fixed |
Topic: RDA Interrupt not working |
cam_male2003
Replies: 2
Views: 8936
|
Forum: General CCS C Discussion Posted: Tue Apr 18, 2006 12:42 pm Subject: RDA Interrupt not working |
I am using 18lf8722 and are using both uarts. Here is the RS232 Line in my code
#use rs232(baud=2400,xmit=PIN_c7,bits=8,parity=n,rcv=PIN_c6,ERRORS,STREAM=USB) //,disable_ints) //USB CHECKED OK, cou ... |
Topic: Ram storage of long intergers to be modified by Modbus |
cam_male2003
Replies: 2
Views: 4901
|
Forum: General CCS C Discussion Posted: Tue Nov 01, 2005 8:12 am Subject: Ram storage of long intergers to be modified by Modbus |
How is a long stored in ram? I just want to verify that this is right. If the Value is 50.
unsigned long maxdiff;
#byte maxdiff= 74
It stores it at location 74 is 50
and location 75 as 0
... |
Topic: RS232 with variable bytes to recieve |
cam_male2003
Replies: 4
Views: 6664
|
Forum: General CCS C Discussion Posted: Wed Sep 21, 2005 12:28 pm Subject: I will try that |
I will add error to my code.. and not print until all the data is received..
 |
Topic: RS232 with variable bytes to recieve |
cam_male2003
Replies: 4
Views: 6664
|
Forum: General CCS C Discussion Posted: Wed Sep 21, 2005 11:49 am Subject: RS232 with variable bytes to recieve |
My code only receives two bytes or 2 Hex Characters. Ideas? I am trying to receive various amounts of data.
void recv()
{
for(i=0;i<=127;i++) ... |
|