5 years ago.

Buttons on Hexiwear doesn't work

I test the OS 5 Hexi_Buttons_Example( https://os.mbed.com/teams/Hexiwear/code/Hexi_Buttons_Example/) on the Hexiwear with mbed-online compiler, but the light stays white after I press the any button. I try other examples that don't include buttons,and those examples can work. Only those examples include buttons, the buttons can't work, like OS 5 Hexi_BLE_Example(https://os.mbed.com/teams/Hexiwear/code/Hexi_BLE_Example/). How can I solve this question?

Question relating to:

Hexiwear team to share code, project ideas, trick and tips

1 Answer

5 years ago.

Hi 昱樺,

There are some debug messages in Hexi_KW40Z library, you can try enable those by #define LIB_DEBUG 1 and #define RAW_DEBUG 1, so you will be able to analyze the packet received.

Regards, Desmond