I don't know how to write an application which can control the hardware.