hi,
im building an app to communicate with 1 wire ibuttons
for this i need to send and read command via serial port
no probs here but to make sure that i get the right data i need to use a perfect timing
here you get a link to program the 1 wire comm in c
i addjusted it to dynamic c but i dont know how to wait for x �s
for ms i use MS_TIMER
any ideas?
http://64.233.183.104/search?q=cache:_F1YeUL9D_IJ:www.maxim-ic.com/appnotes.cfm/an_pk/126+reset+timing+read+write+1+wire&hl=nl&ct=clnk&cd=1&gl=be
thx muk
Possibly you have to write a delay routine (while loop) that counts the number of cpu cycles needed for 6 microseconds.