For my class Im using a Basic Stamp 2 kit for these problems
For my class, I\'m using a Basic Stamp 2 kit for these problems. It\'ll be a lot of help so I can analyze it. I\'m using Basic Stamp Editor V2.5.3 Let me know if you need more info to answer the questions.
Stamp mode: {$STAMP BS2}
PBasic Langage 2.5 {$PBASIC 2.5}
3. Create a program that flashes an LED if an object is near. Otherwise, the LED is off.
4. Create a program that counts every time an object passes by. After 5 passes, the program stops.
Solution
OK, it’s not really a black light. It’s better to call it what it is: ultraviolet light. Let’s start with a quick overview of light. Of course, light is an electromagnetic wave (oscillating electric and magnetic fields), but in this case the frequency is the important aspect. For some narrow range of frequencies, the human eye can detect these waves—this is called the visible spectrum. The lower frequency waves are interpreted by our eyes as the color red, and the higher frequency would be violet.
