With the nrf52840 processor installed on the input and display board, I can run the blink example as well as the example2 of HyperDisplay Basics. But while the button example (found here https://github.com/sparkfun/SparkFun_Mi … no_Library) compiles fine, I get no response from pressing any of the buttons.
Upon opening a serial monitor I do get the Button connected! message so buttons are connected.
I’ve added the following information in the setup():
Serial.print(button.getI2Caddress());
→ 113 (this is the correct default 0x71 i2c address in SparkFun_MicroMod_Button.h)
Serial.print(button.getFirmwareVersion());
→ 1
Serial.print(button.deviceID());
->173 (I suppose that’s for a QWICC board with buttons?)
Serial.print(button.checkDeviceID());
->1
But I get nothing from the buttons once in the loop().
Strangely enough I sometimes receive some:
Button UP pressed!
Button A released!
Button B released!
Button UP released!
Button DOWN released!
Button LEFT released!
Button UP pressed!
Button UP pressed!
without having pressed any button!
I’ve tried changing the baud rate (likely irrelevant here), re-instal the processor board, reset the board, but nothing helped.
What has to be done to get the button to response properly with this combination of the nrf51840 + the input and display board?
Or is my carrier board defective?
Note that I’ve also asked the question at the repo mentioned above and will update here or there, depending on where I get a reply from.
Thanks!