Author |
Message |
Topic: Controller Area Network CAN Vehicle Diagnostic Software |
mxkid
Replies: 2
Views: 5832
|
Forum: General CCS C Discussion Posted: Mon Feb 10, 2014 1:08 pm Subject: Controller Area Network CAN Vehicle Diagnostic Software |
Hi there,
I was wondering if anyone can help me with a project I'm working on. This is a bit of a step up from the normal projects I do so it’s a bit of a learning curve. I’m trying to get RPM ... |
Topic: A strange problem with a float |
mxkid
Replies: 11
Views: 13982
|
Forum: General CCS C Discussion Posted: Mon Nov 18, 2013 1:28 pm Subject: A strange problem with a float |
Hi Ttelmah,
Thanks - that works well. Much better to use int's and insert a decimal point for what i want - happy days |
Topic: A strange problem with a float |
mxkid
Replies: 11
Views: 13982
|
Forum: General CCS C Discussion Posted: Sun Nov 17, 2013 2:44 am Subject: A strange problem with a float |
Hi Ttelmah,
Thanks for the reply. I actually tried that variation but i keep getting:
Error 115 Printf format (%) invalid
My Version is 3.230 so it's pretty old - my spider senses are telling ... |
Topic: A strange problem with a float |
mxkid
Replies: 11
Views: 13982
|
Forum: General CCS C Discussion Posted: Sat Nov 16, 2013 12:01 pm Subject: A strange problem with a float |
Hi all,
Thanks for your replies!
Ttelmah,
How would i use %w in my code to produce a decimal point? I have:
printf(lcd_putc, "S:%Ld", set_temperature);
I've tried ... |
Topic: A strange problem with a float |
mxkid
Replies: 11
Views: 13982
|
Forum: General CCS C Discussion Posted: Fri Nov 15, 2013 2:26 pm Subject: A strange problem with a float |
Thanks for the fast reply. What i want to do is take the average of two temperature probes and use that to control an output. So:
Probe 1 = 20 degree's.
Probe 2 = 21 degree's
Average = 20.5 degre ... |
Topic: A strange problem with a float |
mxkid
Replies: 11
Views: 13982
|
Forum: General CCS C Discussion Posted: Fri Nov 15, 2013 2:11 pm Subject: A strange problem with a float |
Hi there,
I have been trying to print a float value to a display and it seems to print the wrong value. For example:
float set_temperature = 50;
...
printf(lcd_putc, "A:%f&quo ... |
Topic: VDrive2 via UART |
mxkid
Replies: 7
Views: 16781
|
Forum: General CCS C Discussion Posted: Wed Sep 22, 2010 10:35 am Subject: VDrive2 via UART |
Hi,
Just to complete the thread I've got it working. It was down to handshaking - I downloaded "VncFwMod.exe" from the Vinculum website and created a new ftd file that had the rts and cts ... |
Topic: VDrive2 via UART |
mxkid
Replies: 7
Views: 16781
|
Forum: General CCS C Discussion Posted: Fri Sep 03, 2010 6:57 am Subject: VDrive2 via UART |
Hi,
I've had a look on the web and it seems that most people tie the RTS and CTS lines together.
I'm still having no luck creating and writing the file though. To be honest it seems that a lot ... |
Topic: VDrive2 via UART |
mxkid
Replies: 7
Views: 16781
|
Forum: General CCS C Discussion Posted: Thu Sep 02, 2010 3:52 pm Subject: VDrive2 via UART |
Thanks for the information.
I've had a read and it seems fairly simple with the commands given. However, I am still unable to get it working. Here's my code:
#include <16f876a.h>
#fuses ... |
Topic: VDrive2 via UART |
mxkid
Replies: 7
Views: 16781
|
Forum: General CCS C Discussion Posted: Wed Sep 01, 2010 12:28 pm Subject: VDrive2 via UART |
Hi all,
I have recently been given a Vdrive2 to connect to my PICDEM 2 board. I already use the temperature sensor on the board and save the data to the I2C chip and download it via RS232. I would ... |
Topic: SD Card help required |
mxkid
Replies: 12
Views: 11895
|
Forum: General CCS C Discussion Posted: Thu Apr 17, 2008 3:02 pm Subject: SD Card help required |
Thanks for all of your help so far, this is becoming much clearer!
I have checked my CCS compiler and it supports the PIC18F4620 PIC. I also have a good idea of how to design the circuit so buildin ... |
Topic: SD Card help required |
mxkid
Replies: 12
Views: 11895
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 3:01 pm Subject: SD Card help required |
Ah, makes more sense now, cheers.
Is there anyway I can use my 16 series PIC to perform the task? |
Topic: SD Card help required |
mxkid
Replies: 12
Views: 11895
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 2:29 pm Subject: SD Card help required |
Hi,
Not sure what you mean by a PCH compiler - do you mean that the CCS compiler won't do the job? I have looked at the read me for my IDC2 and both of these IC's are compatible. |
Topic: SD Card help required |
mxkid
Replies: 12
Views: 11895
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2008 6:39 am Subject: SD Card help required |
Hello,
I am after a bit of help. I would like to use an SD card (or equivalent) for data storage. I want a PIC to create a .txt file (or equivalent) for storage and when the data is stored I can u ... |
Topic: LCD with PICDEM 2 PLUS Board problems |
mxkid
Replies: 2
Views: 6317
|
Forum: General CCS C Discussion Posted: Thu Apr 10, 2008 2:57 pm Subject: LCD with PICDEM 2 PLUS Board problems |
Thanks for the prompt reply, Works a treat!! |
|