'Interfacing StM32F4xx Nucleo board with LCD HD44780 16x2 module

I am interfacing LCD module in 8bit mode to STM32F446RE Nucleo board the connections are as below: connections

wiring (if pic is not clear)

PB0-->RS PB1-->RW PB3-->E D0-D7-->PC0-PC7

code

Dear members, I have pasted all my codes.. in the link above The GPIO.h,.c files are 100percent working fine I have checked with other peripheral projects. The delay function also works correctly tested for led blink.. Now I am stuck in LCD program only.. My main aim is to just display 1 character I have gone through datasheet and forums and have taken everyones's suggestion accurately I still can't figure out what's wrong with my program.. I have tried this LCD board for arduino program it works there. Also I have checked voltage specifications and all pin's connected are 5v Tolerant as per stm32 datasheet. Please can someone figure out whta I may be doing wrong.. Your suggestions may help me.. I would be greateful..



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source