Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AT24C512_Demo.ino doesn't work. #33

Open
MynaBay opened this issue Jan 15, 2018 · 0 comments
Open

AT24C512_Demo.ino doesn't work. #33

MynaBay opened this issue Jan 15, 2018 · 0 comments

Comments

@MynaBay
Copy link

MynaBay commented Jan 15, 2018

I'm using a RedBear BLE Nano v1.5 to build a simple device. I need to save about 50 bytes of data into the EEPROM. I started by running the AT24C512_Demo.ino project but it doesn't work. Doesn't read anything back.

(Output from project)

Wire demo start
Read data from AT24C512:
����������
Read data from AT24C512:
����������
Read data from AT24C512:
����������
Read data from AT24C512:
����������
Read data from AT24C512:

A little debugging and I found that the call to Wire.available() in AT24C512_ReadBytes always returns 0. Spent some time Googling & trying things. Couldn't get it to work.

Is this a HW limitation of the BLE Nano?

Building with a Mac (10.13.2) and Arduino IDE (1.8.2). Other BLE projects/examples are working. My device is working too. I just can't save my data across power cycles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant