fixed ifndefs
added fun to send a msg to the imphADC