You can use the code I posted in reply #3. Call setFrequency(38000) to select 38kHz. After that, call on() to start a burst of IR, and off() to stop it.
You can use the code I posted in reply #3. Call setFrequency(38000) to select 38kHz. After that, call on() to start a burst of IR, and off() to stop it.