Interfacing a general LCD JHD162A with STM32F3 Discovery.
The original post is taken from EEHERALD which was written for ARM Cortex M0. http://www.eeherald.com/section/design-guide/sample_lcd_c_programs.html
This code has been modified for ARM Cortex M4.