I am working on a project that requires me to drive about 90 LED`s and I use Adafruit neonpixel library to do this. I am currently trying to integrate a piezo knock sensor into my project but I am stuck because I cannot use interrupts because of adafruit neonpixel library. After hours of trial and error I finally figured out that show() function in neonpixel library disables interrupts but the problem is that with the knock sensor, I see high voltage for a very short amount of time and the only way I can think to register the knock is to get interrupt call. Does anyone have any suggestions as to how I can use the knock sensor and the adafruit neonpixel on the same Arduino?
I am using arduino nano for my project.