Abstract:
A method and apparatus for detecting by a digitizer an application of an electronic pen on or within a predetermined distance from a screen of an electronic device, and includes compensating coordinates of an electronic pen relative to screen. At least one magnetic field is detected that is produced by the electronic pen and that has a different central axis each other The digitizer determines whether the electronic pen is inclined based on a number of detected magnetic fields. A determination is made whether to apply a compensation value for compensating coordinates of the electronic pen based on determining inclination of the electronic pen. The present invention advantageously permits exact recognition of coordinates of the electronic pen whether then pen is inclined or not by performing the coordinate compensation taking into account the inclination of the electronic pen and the inclined direction.