Try asking the question on a printer-forum. The error you get is related to Marlin-firmware, not Arduino as-is.
// Per.