Hello @SamJ and thank you for posting your question in our STM32 Community :)
I advice you to have a look to the following resources which can help you to go further in your application:
In the STM32CubeF4 MCU package, you may find the example you need for your board:
\STM32Cube_FW_F4_V1.27.0\Projects\STM32F429I-Discovery\
I hope this resources are helpful for you.
When your question is answered, please close this topic by choosing Select as Best. This can help other users to take advantage of your post, in the case they have the same question.
Thanks
Imen