CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 6 matches
CCS Forum Index
Author Message
  Topic: Disable Open-Drain on SW I2C using PIC18F46K22
Pets

Replies: 10
Views: 20493

PostForum: General CCS C Discussion   Posted: Fri May 31, 2019 2:52 pm   Subject: Disable Open-Drain on SW I2C using PIC18F46K22
Thanks All

Problem is this is not my hardware. I am in the process of requesting the MFG to change it to an RS485 bus.
  Topic: Disable Open-Drain on SW I2C using PIC18F46K22
Pets

Replies: 10
Views: 20493

PostForum: General CCS C Discussion   Posted: Fri May 31, 2019 12:55 pm   Subject: Disable Open-Drain on SW I2C using PIC18F46K22
Thanks All...

Ttelmah - I agree with a different type bus... problem is this is not my hardware. I am in the process of requesting the MFG to change it to an RS485 bus.

As a temp fix I used the ...
  Topic: Disable Open-Drain on SW I2C using PIC18F46K22
Pets

Replies: 10
Views: 20493

PostForum: General CCS C Discussion   Posted: Fri May 31, 2019 10:45 am   Subject: Disable Open-Drain on SW I2C using PIC18F46K22
I am implementing a software I2C bus on a PIC18F46K22.
- Single Master Network
- SCL is on PIN_A2
- SDA is on PIN_D3
The problem is that the I2C clock and data pins are open-drain which causes an ...
  Topic: Function Pointer fails when defined outside of structures
Pets

Replies: 4
Views: 12976

PostForum: General CCS C Discussion   Posted: Thu May 09, 2019 7:44 am   Subject: Function Pointer fails when defined outside of structures
will do... better safe than sorry!
Thanks for all your help and advice...
  Topic: Function Pointer fails when defined outside of structures
Pets

Replies: 4
Views: 12976

PostForum: General CCS C Discussion   Posted: Mon May 06, 2019 2:28 pm   Subject: Function Pointer fails when defined outside of structures
Thanks Ttelmah

Yes it did work!!!

Interesting I do not have to do that if I declare TestSpeak in main().
  Topic: Function Pointer fails when defined outside of structures
Pets

Replies: 4
Views: 12976

PostForum: General CCS C Discussion   Posted: Mon May 06, 2019 11:35 am   Subject: Function Pointer fails when defined outside of structures
The function pointer defined in the structure works fine.
The 'TestSpeak' function pointer only works when declared in a local function not as a global.

Any thoughts???


/* ******************* ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group