That's why a statement such as this is used. You have to use your pin numbers, in the proper order, inside the parentheses.myLCD LiquidCrystal_I2C ( 0x20, 4, 5, 6, 0, 1, 2, 3, 7, POSITIVE );
void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS );
@floresta: Google is your best friend
@Wonderzoek Quote@floresta: Google is your best friendAre you serious?Don
Which library do you use?
The libraries of Mario H. and DFRobot don't provide the ablitiy to provide specific IO pins for the outputs.
This is the declaration of the .begin statement.
The library by Mario H. is the one that's published in the Arduino Playground. On several sites where I2C LCD's are sold, you can also download a library but 9 out of 10 they are the DFRobot library.
You asked about which lead is the emitter on the transistor.
The DF circuit is fine If the transistor was an NPN ...