Pages: [1]   Go Down
Author Topic: Distance measurement  (Read 504 times)
0 Members and 1 Guest are viewing this topic.
Bologna
Offline Offline
Newbie
*
Karma: 0
Posts: 1
ANT
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.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 241
Posts: 24480
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.
Logged

"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: