fix bug on line: lcd_write_four_bits(d & 0xF0);
add -Wall