Mister_e
Thanks for that, I didn't know it was possible.
Another solution to prevent the code hanging has just occured to me.
Replace the WHILEs with fixed delays that are equal to the longest conversion time of the SHT15 sensor. I think this will be OK but it seems a crude solution compared with an interrupt?
Regards Bill Legge
Bookmarks