Author |
Message |
Topic: Is there a difference in '98 ver. and 4.079 pcwhd |
lecutus
Replies: 1
Views: 3308
|
Forum: General CCS C Discussion Posted: Wed Aug 03, 2011 3:05 pm Subject: Is there a difference in '98 ver. and 4.079 pcwhd |
Using a pic18f258, the original program was done/compiled on a win 98 and it works; the hex file.
Now we can take the original source code and compile on a xp, using pcwhd 4.079 and the hex file do ... |
Topic: Trying to find a chip similar to DS1631? |
lecutus
Replies: 2
Views: 4647
|
Forum: General CCS C Discussion Posted: Tue Jul 20, 2010 1:20 pm Subject: Trying to find a chip similar to DS1631? |
Trying to find a chip similar to DS1631? But I need for the recommended chip to accommodate temperatures up to 2000 degree F. I like the setup of the DS1631, software and otherwise.
I'm measuring t ... |
Topic: What does int filthit:3 mean? |
lecutus
Replies: 7
Views: 7493
|
Forum: General CCS C Discussion Posted: Thu Mar 04, 2010 1:14 pm Subject: What does int filthit:3 mean? |
Thanks
I wish they would have mentioned that in the example. |
Topic: What does int filthit:3 mean? |
lecutus
Replies: 7
Views: 7493
|
Forum: General CCS C Discussion Posted: Thu Mar 04, 2010 8:12 am Subject: What does int filthit:3 mean? |
Sorry, I forgot the protocol.
I'm using PIC18F258 with PCWHD 4.079
For the record I have :
int buffer[8],rx_len,rxstat;
As an observation, does using can_getd implicitly make rxst ... |
Topic: What does int filthit:3 mean? |
lecutus
Replies: 7
Views: 7493
|
Forum: General CCS C Discussion Posted: Wed Mar 03, 2010 10:29 am Subject: What does int filthit:3 mean? |
Thanks I have the first part of my question answered. Now for the second part.
I got a "error 57 , Expecting structure/union" twice, concerning rxstat.buffer and rxstat.filthit.
The ... |
Topic: What does int filthit:3 mean? |
lecutus
Replies: 7
Views: 7493
|
Forum: General CCS C Discussion Posted: Tue Mar 02, 2010 4:51 pm Subject: What does int filthit:3 mean? |
What does int filthit:3 mean?
I was doing some code testing and wanted to see what the CANbus was bringing in. So looking at examples, I decided to check what the rxstat had in it.
rxstat is de ... |
Topic: Is j1939 half duplex or full duplex? |
lecutus
Replies: 3
Views: 7069
|
Forum: General CCS C Discussion Posted: Tue Jan 05, 2010 3:56 pm Subject: Is j1939 half duplex or full duplex? |
Thanks that's all I need. This is why I like this place, the simple answer and why it is(the reason).
L. |
Topic: Is j1939 half duplex or full duplex? |
lecutus
Replies: 3
Views: 7069
|
Forum: General CCS C Discussion Posted: Tue Jan 05, 2010 10:59 am Subject: Is j1939 half duplex or full duplex? |
Is j1939 half duplex or full duplex?
In other words is j1939 like a radio, only one person can talk at a time? Or is it more like telephone where both parties can talk and listen at the same time?
... |
Topic: Simple CanBus question. |
lecutus
Replies: 2
Views: 4085
|
Forum: General CCS C Discussion Posted: Wed Dec 30, 2009 8:50 am Subject: Simple CanBus question. |
Awright, let me reiterate.
I, as the user may need to send information, such as gear, rpm, to effect the engine.
The engine is to send back information as to its current situation.
That simp ... |
Topic: Simple CanBus question. |
lecutus
Replies: 2
Views: 4085
|
Forum: General CCS C Discussion Posted: Tue Dec 29, 2009 3:17 pm Subject: Simple CanBus question. |
Simple CanBus question. Does the Can bus always send out info or does it have to be asked?
Situ:
I trying to rewrite a engine control package, sending/receiving parameters. Sending parameters to c ... |
Topic: Is this right? |
lecutus
Replies: 5
Views: 4686
|
Forum: General CCS C Discussion Posted: Thu Dec 10, 2009 12:51 pm Subject: Is this right? |
Thanks T.
That little trick, a=b=c=d, may come in handy some day.
L. |
Topic: Is this right? |
lecutus
Replies: 5
Views: 4686
|
Forum: General CCS C Discussion Posted: Thu Dec 10, 2009 10:35 am Subject: Is this right? |
I guess in retrospect it doesn't make sense to send an amount to a variable and then to the same variable.
For the record the optimiser didn't get rid of it. This code has been worked on quite a b ... |
Topic: Is this right? |
lecutus
Replies: 5
Views: 4686
|
Forum: General CCS C Discussion Posted: Thu Dec 10, 2009 9:25 am Subject: Is this right? |
Is this right? Notice the text in bold letterring the " cprm= cprm = "
if (rx_ad==44) {crpm=crpm=make16(buffer[2],buffer[1]); //store req spd buffer
I usually program in various forms ... |
Topic: So why bother with all these other input/output pins? |
lecutus
Replies: 0
Views: 3022
|
Forum: General CCS C Discussion Posted: Fri Oct 16, 2009 4:05 pm Subject: So why bother with all these other input/output pins? |
In my case I'm using rs232 for input/output. So why bother with all these other input/output pins?
Second question. The proper use of input_a or the strategy of port = input_a(). Why? This can be ... |
Topic: Why doesn't this work? |
lecutus
Replies: 12
Views: 11390
|
Forum: General CCS C Discussion Posted: Wed Sep 30, 2009 1:18 pm Subject: Attempted here's the report |
ASM asks does it work, YES!!!!!!!!!!!!!!!!! Everything is as it should be, the initial string at start up, the updating works, gears change, it pressures up. Yep, it's all there.
When compiling I ... |
|