SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about carrier boards have here!
User avatar
By calocedrus
#234196
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():
Code: Select all
Serial.print(button.getI2Caddress());
-> 113 (this is the correct default 0x71 i2c address in SparkFun_MicroMod_Button.h)
Code: Select all
  Serial.print(button.getFirmwareVersion());
-> 1
Code: Select all
  Serial.print(button.deviceID());
->173 (I suppose that's for a QWICC board with buttons?)
Code: Select all
  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!
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]