CPC G06F 3/038 (2013.01) [G06F 1/24 (2013.01); G06F 3/03545 (2013.01); H02J 7/0044 (2013.01); H02J 50/12 (2016.02); G06F 2200/1632 (2013.01)] | 13 Claims |
1. An electronic device comprising:
a panel configured to identify a position of a stylus pen,
a communication module configured to transmit and receive communication signals to and from the stylus pen,
at least one garage coil disposed at a position corresponding to a position of a garage in which the stylus pen is accommodatable, and
at least one processor,
wherein the at least one processor is configured to:
based on the stylus pen being identified as inserted into the garage, apply, based on a first communication method, a signal having a pattern for controlling the stylus pen to the garage coil, and
based on the stylus pen being identified as removed from the garage, control the communication module to transmit, based on a second communication method, a communication signal including information controlling the stylus pen to the stylus pen,
wherein the at least one processor is configured to apply, to the garage coil, a signal having a first pattern instructing reset of a communication module of the stylus pen, based on identifying that reset of the stylus pen is required.
|