Midi sync for cdj-800

Hello,

I have confirmed that a re-start is happening.

I'm not sure why though.
The power supply is regulated.

I can press any of the 4 mode toggle buttons, in any and all combinations, at any speed, and all is well.

as soon as all four buttons are released - reboot.

after reboot, it will run fine with all buttons released until the next transition from 'any button pressed' to 'no buttons pressed'

I've scoped the inputs to the button channels. There is a clean 0 to 5v transition, with no obvious voltage spike.

The chip does not feel in any way hot, and I have tried a substitute chip

any thoughts?

I've attached the code after a little tidy up.

Thanks again

cdj1_1.ino (10.5 KB)