You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that would cause an assertion failure if someone passes "K1 K2" as "cs". It should support iterables and ranges among other things, because it's perfectly valid to have e.g. multiple CS# pins with an SPI interface.
The text was updated successfully, but these errors were encountered:
This doesn't seem very useful on its own, but it's a feature that helps with abstraction, because, for example, this buggy code:
will not currently be caught at all. (Can you spot the bug?)
Ideally there would be some syntax, e.g.:
that would cause an assertion failure if someone passes
"K1 K2"
as"cs"
. It should support iterables and ranges among other things, because it's perfectly valid to have e.g. multiple CS# pins with an SPI interface.The text was updated successfully, but these errors were encountered: