I have a clock signal of 90 khz and need to read the data.
So far I have not been able to get my code quick enough to read the data.
Is it possible to branch from the Arduino's code to an assembler routine and back to the Arduino's code.
The psudeo code is somethin like this
Wait till clock low for 100 ms
jump to assembler routine
loop 20 times
on clock falling edge read data
if data = 1
result = result +1
shift left result
end assember routine
Yes, it's possible to call pure assembly functions. The rules for doing so are described here:
Check out our new shield: http://www.ruggedcircuits.com/html/gadget_shield.html
Of course it is possible. For a very quick and dirty example have a look here
Been busy tidying the house after the earthquake. 7.1 about 30 km from our house ! No real damage to our place but quite a lot to may others.
I have downloaded the AVR instruction set and some intro to assembler documentation. I'll try and process this all.