This is the simplest example firmware for HackRF.  It flashes three LEDs.