1. A electronic pen, comprising a stylus body including a writing tip, a first ultrasonic transmitter, a second ultrasonic transmitter, an electromagnetic transmitter, and a controller operably connected to the first ultrasonic transmitter, the second ultrasonic transmitter, and the electromagnetic transmitter, the controller controlling the transmission of signals from the first ultrasonic transmitter, the second ultrasonic transmitter, and the electromagnetic transmitter.