Blogger

Delete comment from: Ken Shirriff's blog

Lauszus said...

@Julez Stone
You are most likely running out of RAM. Try to use PROGMEM to save it in the flash instead.
See the following page for more information: http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html

And here is how it works in practice: https://github.com/TKJElectronics/USB_Host_Shield_2.0/blob/master/PS3BT.cpp#L27
And here is how to read the array: https://github.com/TKJElectronics/USB_Host_Shield_2.0/blob/master/PS3BT.cpp#L252

You just have to implement it in the sending code for it to work properly.

Or even better. Create a fork at github and add the protocol :)

Regards
Lauszus

Jun 19, 2012, 11:17:51 AM


Posted to A Multi-Protocol Infrared Remote Library for the Arduino

Google apps
Main menu