Hi all!
I'm testing around with a rotary-encoder(uses InterruptIn) and a DS1820 temperature-sensor (the readTemperature() is called every 15 seconds via ticker() to display the temperature)
Before reading the temperature one has to wait about 750ms with wait_ms().
Now it seems that the interrupts from the rotary-encoder (InterrruptIn) are blocked while inside the ticker-service-routine, which does the wait_ms() !
When I do a wait() in main no interrrupts are lost and everything is fine.
I'll try to create a simple testcase, but is it possible that the interrupts are blocked?
And how can I get those interrrupts, while in the ticker-handler?
Any ideas?
Charly
Hi all!
I'm testing around with a rotary-encoder(uses InterruptIn) and a DS1820 temperature-sensor (the readTemperature() is called every 15 seconds via ticker() to display the temperature)
Before reading the temperature one has to wait about 750ms with wait_ms().
Now it seems that the interrupts from the rotary-encoder (InterrruptIn) are blocked while inside the ticker-service-routine, which does the wait_ms() !
When I do a wait() in main no interrrupts are lost and everything is fine.
I'll try to create a simple testcase, but is it possible that the interrupts are blocked?
And how can I get those interrrupts, while in the ticker-handler?
Any ideas?
Charly