I tried to compile the custom characters example that comes with the arduino program. I get the error call of overloaded \write('int') is ambiguous. If i change the 0 to a 1 in this line lcd.write(0); it compiles.

Demonstrates how to add custom characters on an LCD display. The LiquidCrystal library works with all LCD displays that are compatible with the Hitachi HD44780 driver. There are many of them out there, and you can usually tell them by the 16-pin interface.

This sketch prints "I <heart> Arduino!" and a little dancing man to the LCD.

byte armsUp[8] = { 0b00100, 0b01010, 0b00100, 0b10101, 0b01110, 0b00100, 0b00100, 0b01010};void setup() { // create a new character lcd.createChar(0, heart); // create a new character lcd.createChar(1, smiley); // create a new character lcd.createChar(2, frownie); // create a new character lcd.createChar(3, armsDown); // create a new character lcd.createChar(4, armsUp);

// set up the lcd's number of columns and rows: lcd.begin(16, 2); // Print a message to the lcd. lcd.print("I "); lcd.write(0); //****** This is where the error shows up ****** lcd.print(" Arduino! "); lcd.write(1);