Maybe try executing the code after a timeout on onInit? It could just be an issue with the power supply? I notice that you've connected all the wires up when you only need 4 bits - I wonder if the other wires are being set to odd values and are causing problems.
It is seriously unlikely to be because of the warnings when compiling. If you want to fix them and issue a pull request it'd be great though - I've been trying to work my way around doing it.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Maybe try executing the code after a timeout on
onInit
? It could just be an issue with the power supply? I notice that you've connected all the wires up when you only need 4 bits - I wonder if the other wires are being set to odd values and are causing problems.Are are you sure you haven't connected the LCD to pins that are used for other peripherals? These could be interfering with it: http://www.espruino.com/ReferenceSTM32F4DISCOVERY
It is seriously unlikely to be because of the warnings when compiling. If you want to fix them and issue a pull request it'd be great though - I've been trying to work my way around doing it.