The button_init() function needs one more parameter, which isn't in the example. May be you could add a real example program, which will be compiled on upload (github actions), so we are sure, that this code works.
The button_init() function needs one more parameter, which isn't in the example.
May be you could add a real example program, which will be compiled on upload (github actions), so we are sure, that this code works.