change IR sending data frequency

Dear all,

how to change library's "IRremote" sending frequency from 38khz to 56khz ?
my sensor "TSOP4856" worked with 38khz but i guess it would perform better on 56khz .

What library are you using? Link please?

void  IRsend::enableIROut (int khz)

but i guess it would perform better on 56khz

the TSOP4856 datasheet says it operates at 56 kHz

aarg:
What library are you using? Link please?

IRremote Library

johnwasser:

void  IRsend::enableIROut (int khz)

where to use it

gcjr:
the TSOP4856 datasheet says it operates at 56 kHz

yes i know ... but oddly it worked fine

Anybody please :slight_smile:

adolfhack:
Anybody please :slight_smile:

Did you not read reply #2?

johnwasser:
Did you not read reply #2?

thank you john .. i read it and asked where to use this line ?

adolfhack:
thank you john .. i read it and asked where to use this line ?

You have a call to .enableIRIn() in setup(), right? Put the value in kHz as an argument to that call. Since you didn't post your sketch I can't be more specific.