I am a bit confused with the example Digital_Spi_Dual.py from the python SDK examples. Which pins/cables should be connected to which to make it work? (maybe with that I will be able to figure it out).
I understand from the documentation that we are selecting pin 1 with the second argument (25 on the Digital Discovery) as clock but then in the next line we also use pin1 as MISO?
From the documentation the second argument of FDwfDigitalSpiClockSet is:
Quote
- idxChannel – DIO channel to use for SPI clock (default DIO1)
And the third argument of FDwfDigitalSpiDataSet is:
Question
Alejandro-Dev
I am a bit confused with the example Digital_Spi_Dual.py from the python SDK examples. Which pins/cables should be connected to which to make it work? (maybe with that I will be able to figure it out).
In lines 40, 41 and 42:
I understand from the documentation that we are selecting pin 1 with the second argument (25 on the Digital Discovery) as clock but then in the next line we also use pin1 as MISO?
From the documentation the second argument of FDwfDigitalSpiClockSet is:
And the third argument of FDwfDigitalSpiDataSet is:
Thanks!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now