Hi I'm new to using the msp430, I've taken a class that involves projects with the msp430.
We choose projects and the professor decides which sensors fits the criteria of completing that project.
I was given two of the Sharp distance sensors, we had used sensors such as photocell and temperature sensors in conjunction with midterm code given to us. So my professor told me I could use the midterm code to get readings off the distance sensor. The code did not give accurate readings, I would get resulsts from one of the sensors but it did not make much sense because it was connected to a different port.
I then went to my professor and he could not find what was wrong with it. My professor tested the chip and he said it was fine so I assume it was the code. My professor told me he would send me some other code to test it, but I have yet to get a response.
So I'll attach the modified midterm code I have, and also if anyone has or could link me to some simple code to get readings out of sensors that would be most appreciated.
Also I'm using Code Composer as a compiler.
