Flowcode - FCD #C Help
Posted: Tue Aug 06, 2019 7:27 pm
Hi Everyone.
I would like to know, if someone could point me the right direction to find the information/help that I need for this project I am working on. Maybe a book I need to read or Wiki page to look at, to give me the following information:
- How to incorporate chip specific code to change PIC (8bit) registers i. e. SSPCON1; SSPCON2 etc
- example of C code to achieve the changes
- do's and don'ts
I am not looking for the actual answers, just how or where do I look to learn how it's done. I am working on a project to read Ink jet printer cartridges. These have a very odd I2C protocol that I cannot replicate from the standard FC components. I need to change things like clock polarity at will during data transfers/addressing to get it to work.
Any suggestions would be greatly appreciated. I have looked at a previous forum post on this subject and to be honest, I do not fully understand the #C language others are using. A good book which relates to this topic is what I think I am looking for. Any ideas/suggestions pls.
I do know it can be done as others have achieved it using Arduino sketches, which again, I am not able to follow just yet.
I would like to know, if someone could point me the right direction to find the information/help that I need for this project I am working on. Maybe a book I need to read or Wiki page to look at, to give me the following information:
- How to incorporate chip specific code to change PIC (8bit) registers i. e. SSPCON1; SSPCON2 etc
- example of C code to achieve the changes
- do's and don'ts
I am not looking for the actual answers, just how or where do I look to learn how it's done. I am working on a project to read Ink jet printer cartridges. These have a very odd I2C protocol that I cannot replicate from the standard FC components. I need to change things like clock polarity at will during data transfers/addressing to get it to work.
Any suggestions would be greatly appreciated. I have looked at a previous forum post on this subject and to be honest, I do not fully understand the #C language others are using. A good book which relates to this topic is what I think I am looking for. Any ideas/suggestions pls.
I do know it can be done as others have achieved it using Arduino sketches, which again, I am not able to follow just yet.