This evening I tested the proximity sensor. I placed it on the bread board and hooked it up on digital I/O 8. By adding a LED to be able to see if an object was detected, the circuit was complete...
So I altered the button example from the Arduino development enviroment to match the I/O pin 8, and uploaded the program...
And w000t! It works:
And w000t! It works:
當一個人內心能容納兩樣相互衝突的東西,這個人便開始變得有價值了。...........................................................................
BeantwoordenVerwijderen