what is the best way for me to calculate how long a certain part of my program will take to run.
do i need to compile it from pbp to asm then count the instructions and * it by the clock freq?
what is the best way for me to calculate how long a certain part of my program will take to run.
do i need to compile it from pbp to asm then count the instructions and * it by the clock freq?
easier solution... place HIGH LED on the begining and LOW LED and the end of your code... do a loop and measure with a scope or frequency meter. this will be close to what you need.
regards`
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks