jerabaul29 / LoggerWavesInIce_InSituWithIridium

A repository with all the information necessary to build an instrument for in-situ measurements in remote environments
MIT License
5 stars 1 forks source link

Interrupt #21

Closed jvoermans closed 3 years ago

jvoermans commented 3 years ago

@jerabaul29 Is there going to be a conflict somewhere in the software if I use 'attachInterrupt' to measure wind speed? I'm not an expert on the interrupt function, but it seems it can conflict easily with other processes running on the background...

jerabaul29 commented 3 years ago

Mmh, I do not think it should, as the interrupt will be on the specific pin you attach to. There are many interrupt handlers routines, so that it is possible to have several interrupts defined at the same time. Would be best to test and check of course, but I would guess this should work :) .

Let me know when you test and how. Maybe you can create a separate project for this feature, and I can take care of putting in the main code? :)