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 3 matches
CCS Forum Index
Author Message
  Topic: How to get data I2C without Interrupt.
harizal

Replies: 1
Views: 9589

PostForum: General CCS C Discussion   Posted: Wed May 02, 2018 7:31 am   Subject: How to get data I2C without Interrupt.
How can i get data from other pic use I2C without interrupt.?? Because when i put delay it jammed. and can't receive data.

This is my code:-

Master:

i2c_start(); // Start condition ...
  Topic: How To send data on INT32 through I2C
harizal

Replies: 1
Views: 8415

PostForum: General CCS C Discussion   Posted: Wed May 02, 2018 2:12 am   Subject: How To send data on INT32 through I2C
Master Code:

int32 binary;
binary=112000010; // 9digit like a integer number

Printf("TX: %Lu \n",binary);
delay_ms(1);

i2c_start(); // St ...
  Topic: how to send address and Hexadecimal value use UART
harizal

Replies: 2
Views: 11111

PostForum: General CCS C Discussion   Posted: Fri Apr 13, 2018 6:59 pm   Subject: how to send address and Hexadecimal value use UART
how to convert this code from hi-Tech C to CCS C Compiler:
i use MP14A (multiPWM) connected to PIC16F877A.


This Coding from Hi-Tech to activate the MultiPWM use UART:

send_serial(0x01); // se ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group