Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Help-Code for Data Logging and LCD Display on Arduino
Post Body

I am currently working on a project that needs to record data at a very fast rate and display it on a LCD. I have a code for that working. The next part I need to do is incorporate a SD card and get it to log the data onto that. I want it to have the time since it's started with the Analog reading from my sensor, for eventual excel plotting but do not know how to change my code to do this. I can get my readings to show on the serial monitor and plotter but have no idea how to get the SD card incorporated, coding wise. I also read about a method to stop writing data with a switch to protect against corruption. Can I just use a second analog input for this with "if" and "while" loops?

If any of you have written any arduino code similar to this, or know how this all might be done, please help.

Here is my current code in pastebin: https://pastebin.com/U3uQQBz1

Author
Account Strength
50%
Account Age
8 years
Verified Email
No
Verified Flair
No
Total Karma
117
Link Karma
49
Comment Karma
68
Profile updated: 5 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago