Latency time


hello,


i use arduino uno project. have use timer able measure 0.1us. so,

delaymicrosecond function not enough. never use arduino want use cause seems

easy (and because don't want bothering me hardware part).



i think can use timer 1 able increase 1 one every 62.7ns ( 16mhz). if tell

t1=0 (i don't knoow exact name of register) increment self each 62.7ns without

need something? can play directly microcontroller register arduino ide?



and also, i'm scared other instructions of program make increment lower ( latency time

when i'm calling function or execute instruction), problem timer 1 or really

accurate want be.



thanks answer hope make myself clear.

yours faithfully.

each clock tick takes 62.5 nanoseconds. if doing ticking clock, you'll fine. but, of course, not doing. loop() running, means using clock ticks.

it pointless @ time takes execute 1 instruction , think means able often.


Arduino Forum > Using Arduino > Programming Questions > Latency time


arduino

Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading