TV on/off (arduino board/IR)

Hey everyone.
i wonna use an arduino board to Turn on/off my TV by IR . i wonna do it with a single button . could u plz help me on this?
i would really appreciate it if u give me the actual codes :slight_smile: .
these are my TV Codes :
irsend.sendSAMSUNG(0xE0E019E) // TV off
irsend.sendSAMSUNG(0xE0E040BF) // TV on

Hello and welcome to the Blynk Forum. We can give you actual assistance, but we are not a code factory.

There are many reference pages that will guide you in learning to use Blynk… All these links are at the upper right of this page.

Particularly check out the Search function for other TV and IR Control topics:
https://community.blynk.cc/search?q=TV%20IR%20control%20order%3Alatest

Sketch Builder: Wherein you will find many examples… such as using a Widget to send data to the Arduino:

Documentation: http://docs.blynk.cc/

Help Center: http://help.blynk.cc

Also, please thoroughly read through the Welcome Topic.