Is it possible to use the SPI interface without the verbose output in the console?
How do I wait for SPI to finish the last command?
Posted 13 February 2015 - 04:35 PM
you can edit libraries/SPI/SPI.cpp, remove or comment all printf.
or you can direct your log to /dev/null, for example:
./spi_test > /dev/null
what do you mean "How do I wait for SPI to finish the last command"?
I found the printf statements last night.
When I first started working with the SPI I was doing it wrong and it would cause some timing issues. Now that I have an understanding of what the developers did it is working as it should. Except for the speed reported by SPI, but thats for the developers to worry about.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users