lilyhack 3 Posted October 18, 2016 Share Posted October 18, 2016 I am trying to find the timing of how long it takes for an analogread operation like below. How do I do that in energia? Is there a way I can timestamp before and after the code and take the difference? voltSensor= analogRead(A7); Quote Link to post Share on other sites
energia 485 Posted October 18, 2016 Share Posted October 18, 2016 capture millis() before and after. Robert Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.