ambiguous overload for 'operator=' in 'r[i]=((int)key)+0x....)'

Thanks for your reply, I'll look into it.
Btw when you say see how to use this forum post, is this what you meant?

https://forum.arduino.cc/index.php?topic=223286.0