How to run i2c lcd code in timer interrupt


hi avery one.
i using i2c lcd project.also have sim900 module problem when running sim900 code in loop lcd print struct.then need run lcd code in timer interrupt.how 1 pleas me.

post code.  isn't you'd need timer interrupt drive display.  far more other code needs optimized can run lcd code. 

doing i2c comms in interrupt service routine sketchy @ best , might not work @ all.  iirc i2c interrupt driven , during isr interrupts turned off.  may end dead-locking code. 


Arduino Forum > Using Arduino > Programming Questions > How to run i2c lcd code in timer interrupt


arduino

Comments