ghidraninja / game-and-watch-base

Base project for Game & Watch firmware.
BSD 3-Clause "New" or "Revised" License
97 stars 24 forks source link

Any ideas on why HAL_LTDC_LineEventCallback and HAL_LTDC_ReloadEventCallback dont fire? #9

Closed Willyarma closed 3 years ago

Willyarma commented 3 years ago

I wanted to try out using vsync interrupts to maintain timing in my game. I've been trying for hours and I just cannot get HAL_LTDC_LineEventCallback and HAL_LTDC_ReloadEventCallback to fire. I have found the global interrupt enable for LTDC and ive turned it on. It just dosen't work at all, any ideas?

For audio ive used HAL_SAI_TxCpltCallback and HAL_SAI_TxHalfCpltCallback and they worked straight away!

Willyarma commented 3 years ago

I've fixed it. I created a new project from the IOC and started again.