figshare
Browse
arduino-execution-time.pdf (659.82 kB)

Accurate measurement of Arduino code execution time

Download (659.82 kB)
preprint
posted on 2020-03-08, 17:15 authored by Zoltan GinglZoltan Gingl
It can be important in an Arduino UNO project, how much time is needed to execute some lines of code or a function. If you can measure the execution time accurately, you can optimize your code, speed up loops and you can be sure that the code, function or interrupt service routine can complete its job in time. Or you can just learn more about the code execution properties, compiler performance and you can see what you can expect from library functions. Example code can be found here: https://github.com/miszak-mta-szte/Arduino-code-execution-time

Funding

Content Pedagogy Research Program of the Hungarian Academy of Sciences

History

Usage metrics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC