Promise based GPIO access and interrupt detection for Raspberry Pi