??? 04/27/06 22:25 Modified: 04/27/06 22:26 Read: times |
#115136 - knowledge Responding to: ???'s previous message |
Its really remarkable how much people can learn so much how about the MC family. I am graduating this month with my associates degree in Electrical Engineering, and i feel like as if i have MUCH more to learn.
For today, i have written my first code and it not only compiled successfully it ran great. This code is only to send out a pulse, recieve the echo ... and light the LED with my Polaroid. I did not include my Accellerometer. The polaroid travels in the air 1.78 m/s PER FOOT. I figured i could have done math but rather did this; as T0 is waiting for an echo, what ever that is on TH register, i can use that as a reference... i measures are small incriments of .42 ft. Then when ever i get a "4" on my TH that means that wall is approx. 2ft in front of me. When there is a different number on THm then go forward. This is draft version ... meaning i didnt comment everything http://people.morrisville.edu/%7Egonzal...dition.txt ED |