Word on the street is: Use a PIC with Schmitt trigger inputs for better results. Better results due to Schmitt triggers hysteresis's gives input port a snap action, dampens analog effect.
Word on the street is: Use a PIC with Schmitt trigger inputs for better results. Better results due to Schmitt triggers hysteresis's gives input port a snap action, dampens analog effect.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Along the same lines, the data sheet for the part Alain points out has on page 11 another nice way of doing it.
http://www.google.com/url?sa=t&sourc...SILdHEv5RRcHYQ
Dave
Always wear safety glasses while programming.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I am thinking along the lines of both detectors being saturated but spaced maybe a centimeter or so apart. When the piece being detected cast a shadow on one and not the other then the differential. I guess it would only work if the light source was coming from one direction only........Darn, now I am back to square one![]()
Dave
Always wear safety glasses while programming.
Bookmarks