Timing, Threading, and Sleeping

Yep that is my problem there. looks like i’ll be able to get a workable solution out of that info. probably after a lot of reading, trial and error.

In the long run I need to make an object lock that is required for the chip select pin to operate. To make my spi bus thread safe for the future. Does that sound possible? or are the cs pins switched in the native code. I’ve got 3 different chip’s connected to it. So I’ve got a feeling this might come around again.

Thanks

Yes. Sounds completely doable. But as always, the devil is in the details. I’m sure that there’s a workable solution, but the work lies in sorting out the intersection of your requirements and the available solutions. I think Interlocked will be key to a workable solution given what you’ve told us so far.