by dneo » Thu Nov 19, 2009 3:32 am
by dneo
Thu Nov 19, 2009 3:32 am
hi, im using robobasic v2.5
very basic codes i think, not familliar though.
I've found this set of sound sensor codes :
Dim A as Byte
A=AD(0)
main:
IF A > 55 then MUSIC “C0” ‘if too loud, then make beep sound
goto main
however, i do not want to integrate music in my robot.
Instead, i want it to detect a clap sound and then walk forward. something like that.
Any idea of how to do it? how to input the value of clap? whats the value of clap?
hi, im using robobasic v2.5
very basic codes i think, not familliar though.
I've found this set of sound sensor codes :
Dim A as Byte
A=AD(0)
main:
IF A > 55 then MUSIC “C0” ‘if too loud, then make beep sound
goto main
however, i do not want to integrate music in my robot.
Instead, i want it to detect a clap sound and then walk forward. something like that.
Any idea of how to do it? how to input the value of clap? whats the value of clap?