-
Notifications
You must be signed in to change notification settings - Fork 14
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
AT45DB041D interfacing with arduino Uno #24
Comments
|
Hi, |
🤦♂️ doh... I just noticed this in pagetest source code:
This means that CS is on pin 5.
|
Hi, i have done that already in dataflash.setup(10,6,7). I guess there was a problem with my MISO & MOSI connections. |
Ok. Normally you should get "@ write test 0" etc.. but it seems that the behaviour of Serial.print has changed since I wrote this example. Anyway, this example writes a string starting at offset 0 of the buffer 1. |
Thanks and also please let me know the changes i have to make in your code for my custom application. Is it possible to do it using your library. |
Here's an idea, each time you read a value from the ADC, you store it to in one of the Dataflash buffer. When this buffer is full (or when you receive a shutdown command) you write this buffer to a page. At this point the way the data is organized is up to you. About data read, it depends on the command. If it's "send me all the data" you can loop through all the pages and directly send the data. |
Ok thank you so much, your idea seems great. |
Hi, i am trying to interfacing AT45DB041D with arduino uno.
I am trying to upload pagetest code from your library, but i am unable to get any result on serial monitor i am getting 0 value for all outputs.
The text was updated successfully, but these errors were encountered: