Apparatas and method for transmitting about barcode information using for infrared ray in an electronic device

The present invention relates to an electronic device and method for transmitting information on a barcode by using an infrared light emitting diode (LED). The method of operating the electronic device comprises the steps of: transforming a displayed barcode into a binary code; and lighting on and off the infrared LED according to the set order such that a laser scanner can recognize a binary code. [Reference numerals] (101) Discount coupon