Add interrupt sample code.