clear interrupt after processing is finished
optional argument in whatHappened for readpipe number
test of receiving data using IRQ pin connect to GPIO