I have a LoLin Nodemcu V3, ie. it's just basically a Nodemcu V1.0, but with the reserved - pins changed into +5VOUT/GND. I have a Nokia 5110 LCD connected to HSPI - pins and it works wonderfully until I toggle GPIO9 -- at this point the display goes haywire. I have no idea why, there is nothing actually physically even connected to GPIO9, the Internets says that I should be able to use GPIO9 and GPIO10 on a Nodemcu just fine without any modifications as long as I am using DIO - mode for the internal Flash (and I am, not QIO). I have also tried adding both
PIN_FUNC_SELECT(PERIPHS_IO_MUX_SD_DATA2_U, FUNC_GPIO9);
pinMode(9, FUNCTION_3);
Can anyone shed any light on this?