(EN) An electronic device according to one embodiment comprises: a first sensor; a communication circuit; a processor operatively connected to the first sensor and the communication circuit; and a memory operatively connected to the processor, wherein the memory can store instructions for allowing, when executed by the processor, the processor to determine, on the basis of a predetermined condition, whether calibration for a second sensor of a stylus pen is required, identify the alignment of the stylus pen at a designated position of the electronic device, and, if it is determined that the calibration is required, collect situation information by using the first sensor and transmit a calibration instruction to the stylus pen through the communication circuit on the basis of the situation information.
(FR) Un dispositif électronique selon un mode de réalisation de l'invention comprend : un premier capteur; un circuit de communication; un processeur connecté de manière fonctionnelle au premier capteur et au circuit de communication; et une mémoire connectée de manière fonctionnelle au processeur, la mémoire pouvant stocker des instructions qui, lorsqu'elles sont exécutées par le processeur, permettent au processeur de déterminer, sur la base d'une condition prédéterminée, si un calibrage d'un second capteur d'un stylet est nécessaire, d'identifier l'alignement du stylet au niveau d'une position désignée du dispositif électronique, et s'il est déterminé que le calibrage est nécessaire, de collecter des informations de situation à l'aide du premier capteur et de transmettre une instruction de calibrage au stylet via le circuit de communication sur la base des informations de situation.
(KO) 일 실시 예에 따른 전자 장치(electronic device)는 제1 센서, 통신 회로, 상기 제1 센서, 및 상기 통신 회로와 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해 실행 시, 상기 프로세서가 지정된 조건에 기초하여 스타일러스 펜의 제2 센서에 대한 조정(calibration)의 필요 여부를 결정하고, 상기 스타일러스 펜이 상기 전자 장치의 지정된 위치에 대해 정렬됨을 식별하고, 상기 스타일러스 펜이 상기 전자 장치의 지정된 위치에 대해 정렬됨이 식별되고, 상기 조정의 필요가 결정되면, 상기 제 1 센서를 이용하여 상황 정보를 수집하고, 상기 상황 정보에 기반하여, 상기 통신 회로를 통해, 상기 스타일러스 펜에게 조정 명령을 송신하도록 하는 명령어들을 저장할 수 있다.