Module Tester - Display is lit up but nothing else works

Hi folks!
I finished my module tester and nothing apart from the display works. the encoder push switches between temp and 120bpm but not to resolution. turning it doesnt affect anything most of the time, but sometimes it jumps to 121 then to 122 bpm. no leds work and nor does switching to other modes. and then all of a sudden it does jump to next mode and then beyond…
i measured some voltages and it seemed to be fine. at first start up i used a wrong power supply and the atmega wasnt assembled the right way.
any ideas were to start?
Many thanks!

Have you set the fuses on the Atmega correctly?

this is what i executed in terminal:
avrdude -c usbtiny -p m644p -Uflash:w:module_tester.hex:i

i remember it said something with fuses ok…

What about the fuses? Have you set them?

how do i do this? sorry im a noob when it comes to programming

avrdude -c usbtiny -p m644p -U lfuse:w:0xff:m -U hfuse:w:0xd4:m -U efuse:w:0xfd:m

now it works!
thank you sooooo much!