Author |
Message |
Topic: Setting a pointerred value |
hmnrobots
Replies: 3
Views: 5786
|
Forum: General CCS C Discussion Posted: Thu Apr 11, 2013 11:32 am Subject: Setting a pointerred value |
JUST THANK YOU SO MUCH , at least I've got an answer and I will remember that declaring a pointer doesn't allocate any memory!
Once again Many thanks PCM Programmer to take the time to answer to s ... |
Topic: Setting a pointerred value |
hmnrobots
Replies: 3
Views: 5786
|
Forum: General CCS C Discussion Posted: Thu Apr 11, 2013 3:10 am Subject: Setting a pointerred value |
Hi all
A 2 days Nightmare !
Chip is a 16f767, compiler 4.104
I declare a GLOBAL pointer:
int8 *FwdDev=0;
and a variable:
int8 d;
later then when I do:
(*FwdDev) = d;
Fprintf(HF,& ... |
Topic: PIC12F675 with ICD2 as a debugger... |
hmnrobots
Replies: 15
Views: 30022
|
Forum: General CCS C Discussion Posted: Wed Mar 09, 2011 11:22 am Subject: PIC12F675 with ICD2 as a debugger... |
I guess you're right! I'll let you know. |
Topic: 12f629, interrupt on pin change |
hmnrobots
Replies: 7
Views: 18409
|
Forum: General CCS C Discussion Posted: Wed Mar 09, 2011 10:49 am Subject: 12f629, interrupt on pin change |
Hi
did you use the 12F629 header (equipped with the 12F629-ICD) or directly the 12F629 |
Topic: PIC12F675 with ICD2 as a debugger... |
hmnrobots
Replies: 15
Views: 30022
|
Forum: General CCS C Discussion Posted: Wed Mar 09, 2011 10:25 am Subject: PIC12F675 with ICD2 as a debugger... |
So I would but I've been trying and trying for the last 2 days!
I guess something wrong in the config ??
did you say you 've used the 12F675 header connected to ICD3 with sucess ?* |
Topic: PIC12F675 with ICD2 as a debugger... |
hmnrobots
Replies: 15
Views: 30022
|
Forum: General CCS C Discussion Posted: Wed Mar 09, 2011 9:26 am Subject: PIC12F675 with ICD2 as a debugger... |
Happy to find someone who tried that 12F675 header. So did I
But so far no joy! a very simple program (led blinking) in asm works but the same in C doesn't !
Has any one ever have success with tha ... |
Topic: Software I2C |
hmnrobots
Replies: 7
Views: 7098
|
Forum: General CCS C Discussion Posted: Fri Oct 02, 2009 11:56 am Subject: Software I2C |
I was in fact thinking of an interface I2C/ RS 232 because my project uses already an I2C bus and I'd like to add a HF transceiver, but the one I'd like to use uses TTL RS232. It would be simplier to ... |
Topic: Software I2C |
hmnrobots
Replies: 7
Views: 7098
|
Forum: General CCS C Discussion Posted: Fri Oct 02, 2009 11:35 am Subject: Software I2C |
In fact none of these are able to act as a slave on a device without hardware!I ve got to take another PIC |
Topic: Software I2C |
hmnrobots
Replies: 7
Views: 7098
|
Forum: General CCS C Discussion Posted: Fri Oct 02, 2009 11:27 am Subject: Software I2C |
I just found this project of I2C to RS232 interface
. Coded in assembler : too hard for me !I thought It would be possible with C, don't you ?http://www.gedanken.demon.co.uk/rs232-converters/i2c.html |
Topic: Software I2C |
hmnrobots
Replies: 7
Views: 7098
|
Forum: General CCS C Discussion Posted: Fri Oct 02, 2009 9:22 am Subject: Software I2C |
to complete : Is it possible to establish I2C communication between 2 non equipped I2C devices such as the 12F629 ? one master and one (may be more but at least one ) slave that would be able to respo ... |
Topic: Software I2C |
hmnrobots
Replies: 7
Views: 7098
|
Forum: General CCS C Discussion Posted: Fri Oct 02, 2009 9:02 am Subject: Software I2C |
Hi Sorry cause I originally post in the code library forum;
my question is : Is it possible to built a software I2C slave on a chip that doesn't have any hardware I2C; From the forum, the slave code ... |
|