How to change the default pin assignment in a library.

I'm working with the arduino nano v3.0 and I have done a PCB.
I did a mistake and I will like to know how to change pin assignment in a library so that my analog 0 become 3
1 become 4
2 become 5
3 become 6 and
4 become 7

I'm working with the glcd ks0108

Thank you

Math

Use an array.

Can you explain more plz?? Thk

const byte analogLUT [] = {3, 4, 5, 6  }; or whatever.
Or you could edit the source of the library.

You can't use A6 or A7 in place of A3 or A4 because (unlike A0-A5) they don't have a matching digital I/O pin. They are for analog input only.

Time to cut traces and run wires to correct your circuit board.

Damn! That bad I gonna need to reprint my pcb. :~

You can't use A6 or A7 in place of A3 or A4

It depends what you're trying to do with them, doesn't it?

AWOL:

You can't use A6 or A7 in place of A3 or A4

It depends what you're trying to do with them, doesn't it?

The GLCD library documentation calls for them to be used for D_I (Data In?) and EN (Enable?) signals, pretty clearly digital signals.

After you download the library you can find the wiring diagram at:
Arduino/libraries/glcd/doc/html/page_ks0108_family.html