[SOLVED]LCD 16x2 showing garbage

but Prueba4 prints like garbage, just random symbols.

It might look like garbage to you but not to others. We have to know exactly what was supposed to be displayed, what was actually displayed, if the correct number of characters were displayed, if the characters are consistent each time, etc.

Don