My functions asks for 3 arguments. But its suppose to be only 2?
Posted: Fri Oct 16, 2020 12:50 pm
What am i missing here?
Please see the new forum at
https://forum.micropython.org/
Got it! Thanks!pythoncoder wrote: ↑Fri Oct 16, 2020 1:19 pmSee the docs. The spi.write_readinto method takes two args, you provided only one.
Note that self counts as one arg, which is why the error message refers to 3 args. It is seeing self and ba so is getting 2 args instead of the required 3.