Monitor GLCD Graphics cambiare pin interfaccia arduino

per il TCR ho già risolto, in quanto il pc trasferisce la data (e l'arduino può tenersela per una 50ina di giorni circa).
in quello straccio di codice ci sono già arrivato, ma lì mi si intrecciano gli occhi :stuck_out_tongue:
devo spostare (se dentro la libreria ks0108_arduino.h o altrove non so) i pin 5,6,7 e 8 (o almeno 3 su 4), i quali dovrebbero essere collegati ai pin D5,D6,D7 e D0.
nel codice ho trovato anche queste info, ma da qui non so muovermi. :frowning:

/* option: uncomment the next line if all command pins are on the same port for slight speed & code size improvement */
#define LCD_CMD_PORT		PORTC		// Command Output Register for pins 14-19

/* Arduino pins used for LCD Data 
 * un-comment ONE of the following pin options that corresponds to the wiring of data bits 0-3 
 */
#define dataPins8to11   // bits 0-3 assigned to arduino pins 8-11, bits 4-7 assigned to arduino pins 4-7
//#define dataPins14to17 //bits 0-3 assigned to arduino pins 14-17, bits 4-7 assigned to arduino pins 4-7. (note command pins must be changed)
//#define dataPins0to3  // bits 0-3 assigned to arduino pins 0-3 , bits 4-7 assigned to arduino pins 4-7, this is marginally  the fastest option but  its only available on runtime board without hardware rs232.

/* NOTE: all above options assume LCD data bits 4-7 are connected to arduino pins 4-7 */