teslaworksumn / HeadMaster

DMX parsing and I2C output for the master Animatronic Heads controller
MIT License
2 stars 0 forks source link

Move clear spif in I2C code #56

Closed CrasherCourse closed 11 years ago

CrasherCourse commented 11 years ago

Just move the clearing of the sp interrupt flag out of the send byte function. Or make a wait function.

More issues likely pending.

taylortrimble commented 11 years ago

Clear after this stuff:

The following events will cause the MSSP Interrupt Flag bit, SSPIF, to be set (MSSP interrupt, if enabled): • StartCondition • StopCondition • DataTransferByteTransmitted/Received • AcknowledgeTransmit • RepeatedStart

CrasherCourse commented 11 years ago

Pull Request merged. Issue now obsolete.