When the user was in sufficient range of the LDR, and the reading (light level) fell below a certain value, the sound would be turned on. In addition to that the more the LDR reading fell the lower pitch of the sound produced, and there was also a trigger to light up an LED (as a test light source, where different colour lights will be fixed into the boxes).
There were, however some setbacks. It became clear when we tried to take a second reading from another LDR that there could only be one square wave produced at one time. To correct this problem we will develop the code around the use of MIDI or recorded samples of the square wave.
No comments:
Post a Comment