5 ms·
This is great - I've been thinking about building something like this to keep the cat from waking us up in the middle of the night, or off of certain pieces of
by PonyGumbo 16y ago
This is great - I've been thinking about building something like this to keep the cat from waking us up in the middle of the night, or off of certain pieces of furniture. It would be better if the tone was in a range above human hearing, though.
- icegreentea 16y agoThat's the great part. You have the source code, just change the value of 'freq'!. The piezo should be able to hit high enough frequencies.
- dawsdesign 16y agoI was wondering about that. I think I'll try it. You just have to change the second number in the playTone(1000, 500); call.
- PonyGumbo 16y agoThat's what I was wondering - I think I'm going to try this out.
- pierrefar 16y agoOh I would pay so much for something that keeps the cat quiet around 6am.
- dawsdesign 16y agoHa. Mine's the same. MAybe that'll be my next project.