check this out
http://www.picbasic.co.uk/forum/showthread.php?t=4093
still, an home made shiftin is well under 20 lines of code.
check this out
http://www.picbasic.co.uk/forum/showthread.php?t=4093
still, an home made shiftin is well under 20 lines of code.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
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
well if you build your own shiftin routine... you could check the state at each clock pulse... neat too.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks