Hey all, I was looking for some assistance with interrupts and I2C.
My base code is the TI example I2C master Tx/Slave Rx code. All I want to do is set up so that a user has to push the master's button before the master will transmit a byte.
Sorry, wrong file. sec
That's the closest I have gotten. That code goes into LPM at line 100.
When you push the button, it starts sending I2C indefinitely.
if I put that line 100 LPM either at the top of the while loop (line 103) or try to control the loop in any other way (such as through TxByteCtr like http://pastebin.com/YgnDcs50), the program appears to hang on line 105
Any thoughts appreciated. Thanks.