Jump to content
Sign in to follow this  
jim

Silent SPI?

Recommended Posts

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"?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×