Code for the ultrasound transducer mapping hardware