#define SDA2_low() PLIB_PORTS_PinDirectionOutputSet(PORTS_ID_0, SDA2_PORT, SDA2_BIT) //Set Data Low#define SDA2_high() PLIB_PORTS_PinDirectionInputSet (PORTS_ID_0, SDA2_PORT, SDA2_BIT) //Set Data High Setting the Port to be an output takes many times long..
↧