Hello , i want to do I2C to RS232 converter with a 16F876
I want to send some byte with hyperterminal and send it in the I2C master of the PIC.
Can you help me please ?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Mar 24, 2006 12:15 am
Look in the CCS manual and in the example files for examples of
how to use the library code for RS232 and I2C. Look for these things:
Quote:
#use rs232
#use i2c
Also, many PICs such as the 16F88, 16F877, 16F452, etc., have hardware
modules for rs232 and i2c. You should look in the data sheet for your
PIC and preferably setup the CCS library code to use the PIC pins
that are dedicated to the hardware modules.
Look for CCS example files in this folder on your PC:
c:\Program Files\Picc\Examples
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum