-
Hello! I'm working on a project based on an Arduino Mega 2560. I need to send and receive IR codes (to control and a device, and to be controlled by a remote control). I only use the library for this: if (m_sensor.decode()) {
switch (m_sensor.decodedIRData.decodedRawData) {
case 4244768519:
m_television.toggle(true);
break;
default:
break;
}
} and this: m_IRSender.sendNEC(0x44C1, 0x87, 3); My program is available on GitHub: https://github.com/zetiti10/Domotique-chambre. Unfortunately, the program memory gets full at startup. I searched the origin and I found… this library. With the library: So my question is: is it possible to use the library without this huge global variable? Or, should I use another library? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can specify RAW_BUFFER_LENGTH to change RAM usage. |
Beta Was this translation helpful? Give feedback.
You can specify RAW_BUFFER_LENGTH to change RAM usage.