Human Readable files are things like text files, CSV files, etc. So for this I am going to give you two small phrases that sum everything up quite neatly: So what is needed is a way of storing the data in such a way that it is trivial to read it back in. And complex means lots of code and large processing overheads. Now that could be done by writing those values to the file as text, maybe as a Comma Separated Values file (CSV), which is simple enough, but when it comes to reading that data back in on an Arduino things get decidedly complex. I came across a situation recently where it was necessary to store lots of data values very rapidly and be able to read them back again at a similar speed. But when you have large amounts of data to store very rapidly you have to think a little differently. It’s perfectly fine for things like logging temperature every hour, or barometric pressure every 5 minutes, etc. It results in nice easily readable (by us humans) data.īut it’s not fast. Connect an SD card, open a file, and start printing data to it.įor many people that is good enough. Logging data on an Arduino is very much a trivial every-day task. Due to WordPress’s abysmal handling of code blocks this blog post is now hosted at
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |