]> git.gag.com Git - fw/sdcc/blob - device/lib/pic16/libio/i2c/i2cack.c
Use 'ao-dbg' instead of 's51' to communicate with TeleMetrum
[fw/sdcc] / device / lib / pic16 / libio / i2c / i2cack.c
1
2 #include <pic18fregs.h>
3
4 #include <i2c.h>
5
6
7 void i2c_ack(void)
8 {
9   SSPCON2bits.ACKDT = 0;
10   SSPCON2bits.ACKEN = 1;
11 }