/[H8]/trunk/PIC/Demo trimmet/MyI2C.c
ViewVC logotype

Diff of /trunk/PIC/Demo trimmet/MyI2C.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 110 by hedin, Mon May 28 10:13:48 2007 UTC revision 111 by hedin, Mon May 28 15:00:55 2007 UTC
# Line 11  Line 11 
11  void InitI2C(void)  void InitI2C(void)
12  {  {
13          SSPADD = 0x0A;                         // 100 kHz I2C bus          SSPADD = 0x0A;                         // 100 kHz I2C bus
14            //SSPADD = 0x28;                         // 100 kHz I2C bus
15          SSPCON1 = 0x28;                      // Enable I2C bus          SSPCON1 = 0x28;                      // Enable I2C bus
16          StopI2C();          StopI2C();
17  }  }

Legend:
Removed from v.110  
changed lines
  Added in v.111

  ViewVC Help
Powered by ViewVC 1.1.20