171
edits
Diannamertz (talk | contribs) mNo edit summary |
Diannamertz (talk | contribs) mNo edit summary |
||
Line 68: | Line 68: | ||
=====Tab 2===== | =====Tab 2===== | ||
[http://benfry.com/writing/map/Table.pde Ben Fry's Table] | [http://benfry.com/writing/map/Table.pde Ben Fry's Table] | ||
====PHP==== | |||
(Uploads data to web) | |||
<source lang="php"> | |||
<?php | |||
$file_handle = fopen("data.tsv", "r"); | |||
while (!feof($file_handle)) { | |||
$line = fgets($file_handle); | |||
echo $line; | |||
} | |||
fclose($file_handle); | |||
?> | |||
</source> | |||
===References=== | ===References=== | ||
[http://www.sparkfun.com/datasheets/Sensors/Infrared/GP2D120XJ00F_SS.pdf Reference for Sharp GP2D120XJ00F Analog Distance Sensor 4-30cm] <br> | [http://www.sparkfun.com/datasheets/Sensors/Infrared/GP2D120XJ00F_SS.pdf Reference for Sharp GP2D120XJ00F Analog Distance Sensor 4-30cm] <br> | ||
[http://luckylarry.co.uk/arduino-projects/arduino-using-a-sharp-ir-sensor-for-distance-calculation/ Arduino – Using a Sharp IR Sensor for Distance Calculation] <br> | [http://luckylarry.co.uk/arduino-projects/arduino-using-a-sharp-ir-sensor-for-distance-calculation/ Arduino – Using a Sharp IR Sensor for Distance Calculation] <br> | ||
[http://www.ibm.com/developerworks/library/os-php-readfiles/ The Right Way to Read Files with PHP] |
edits