)(?= )/g, 0x5CD9EF);
	code = replaceColor(code /(Serial|digitalRead|digitalWrite|analogRead|analogWrite|pinMode)(?= )/g, 0x5CD9EF);
	code = replaceColor(code /(PORT|SLOT)_\d/g, 0x996600);
	
	
	
	return code;
}
function replaceColor(code, pattern, color){
	return code.replace(pattern, '<font color="#' + color.toString(16) + '">$&</font>');
}
function setCode(code){
	// Ahora se formatea desde AS3 en showArduinoCode
	/*code = code.replace(/^\s+|\s+$/g, "");
	code = code.replace(/(\t+|\x20+)\n/g, "");
	code = 