Go Down

Topic: Time of conversion. (Read 1 time) previous topic - next topic

rouliaan

Hello,

I start a project in which I need to have input and output conversions totally independent from hardware point of view.
It is obvious that a software perspective conversions are independent since they are made with two different instructions.
My question is: in the following case, are the two conversions physically spaced with 1000 ms?

Thanks

Ex:

while () {

ADC

Sleep (1000)

DAC

}

Grumpy_Mike

Quote
in the following case, are the two conversions physically spaced with 1000 ms


Yes if you use delay(1000); in place of sleep. Sleep means a power down hibernation of the chip and you can only wake it up with a kiss (or interrupt).

rouliaan


Go Up