Basic PIC-C I2C Communication and  Controlling the 7-segment module

Basic PIC-C I2C Communication and Controlling the 7-segment module PowerPoint PPT Presentation


  • 243 Views
  • Uploaded on
  • Presentation posted in: General

Download Presentation

Basic PIC-C I2C Communication and Controlling the 7-segment module

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


1. Basic PIC-C I2C Communication and Controlling the 7-segment module

2. I2C Basics I2C is a Bus. Serial is point-to-point Master and Slave pair Master must start the communication Slave can only respond Slave has a 8-bit address Bit 0 is reserved for direction control

3. Basic I2C Bus Setup

4. i2C Commands in PIC-C Master Only I2c_start() I2c_stop() Slave Only I2c_isr_state() Master & Slave I2c_read() I2c_write()

5. Communication example

6. Controlling the Display Module

7. Example Program

8. Example Program 2

  • Login