Pages: [1]   Go Down
Author Topic: Distance measurement  (Read 595 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all, i'm developing a system for measurement of distance.
In particular, my project is made in this manner:
1) reading of analog input of arduino from the sensors that measure the distance
2) comparison the values with an .csv table file internal in arduino memory
3) execution.

My problem is point 2. Can i store in arduino mem one table with about 300 values for comparing them with the measured values? 
Can you send me some software examples for studying?
Thank you in advance for your help.

Global Moderator
Offline Offline
Brattain Member
Karma: 309
Posts: 26489
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You just need to compile the csv table as a C array.
It can be stored in program memory to save RAM.

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: