Author |
Message |
Topic: CANBUS PROBLEM! |
george
Replies: 4
Views: 6168
|
Forum: General CCS C Discussion Posted: Sat May 16, 2009 12:40 am Subject: Can bus help |
First you have to convert your analog signal into digital a 16 bit number then you transmit your message on to the can bus. You will need to use a 18 series part with a can module. Variables such a ... |
Topic: PCD: i2c trouble |
george
Replies: 1
Views: 3050
|
Forum: General CCS C Discussion Posted: Fri May 08, 2009 3:20 pm Subject: PCD: i2c trouble |
compiler version 4.092 |
Topic: PCD: i2c trouble |
george
Replies: 1
Views: 3050
|
Forum: General CCS C Discussion Posted: Fri May 08, 2009 2:51 pm Subject: PCD: i2c trouble |
Hello all
I have converted from a pic 18 series part to a dsp30F5011 part. I am using 3 DACS MCP4725 base part address 00x
we are using the same code but are unable to get the DAC to work. I h ... |
Topic: GM HSLAN specifications |
george
Replies: 0
Views: 2561
|
Forum: General CCS C Discussion Posted: Sat Feb 14, 2009 10:28 am Subject: GM HSLAN specifications |
I am designing a module to Read only the high speed can bus of a gm vehicle. I know the data I am trying to read using a scan tool and software. The scan software says the data bus is running at 500 ... |
Topic: I/O trouble |
george
Replies: 4
Views: 4461
|
Forum: General CCS C Discussion Posted: Thu Jun 12, 2008 8:57 am Subject: I/O trouble |
Thanks for the responses
Compiler version is
PCWHD 4.074
De bounce is done with hysteresis using a timer interrupt. Every 50 milliseconds the switch is read with this statement.
if(!input(PR_SW ... |
Topic: I/O trouble |
george
Replies: 4
Views: 4461
|
Forum: General CCS C Discussion Posted: Tue Jun 10, 2008 11:32 pm Subject: I/O trouble |
Hello
I am using a pic 18f4580. I have a input that is always reading low. I am using a 10K pull up resistor to 5V. The digital input was working fine for about 1 hour of run time. Nothing abno ... |
Topic: 16 bit parts and can bus |
george
Replies: 0
Views: 2100
|
Forum: General CCS C Discussion Posted: Wed Apr 23, 2008 8:33 am Subject: 16 bit parts and can bus |
Has CCS written can bus routines for the 16 bit parts?
Thanks Geo |
Topic: boolean question |
george
Replies: 2
Views: 6337
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 3:51 pm Subject: boolean reply |
Thanks, I found it in the header file. (#define BOOLEAN int1)
thanks for the reference(s)
George |
Topic: boolean question |
george
Replies: 2
Views: 6337
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 3:12 pm Subject: boolean question |
I am editing someone else's code. They used the variable expression
boolean system_on = FALSE;
Is this the same as int1 system_on = FALSE;
What does boolean mean and where ... |
Topic: ISR with Priority |
george
Replies: 0
Views: 4345
|
Forum: General CCS C Discussion Posted: Fri Mar 14, 2008 10:23 am Subject: ISR with Priority |
I have not written ISR with priority before; planning to do so using a dsp 30 series chip. Any tips or resources on how to write reliable code using ISRs
Thanks Geo |
|