C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:26:20: error: wiring.h: No such file or directory C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp: In member function 'void Tone::begin(uint8_t)': C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:121: error: 'bitWrite' was not declared in this scope C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:123: error: 'digitalPinToPort' was not declared in this scope C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:123: error: 'portOutputRegister' was not declared in this scope C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:124: error: 'digitalPinToBitMask' was not declared in this scope C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp: In member function 'void Tone::play(uint16_t, uint32_t)': C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:198: error: 'OUTPUT' was not declared in this scope C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:198: error: 'pinMode' was not declared in this scope C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:294: error: 'bitWrite' was not declared in this scope C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp: In member function 'void Tone::stop()': C:\Users\yoshito\arduino-1.0\libraries\Tone\Tone.cpp:361: error: 'digitalWrite' was not declared in this scope
I'm pretty new to the entire coding thing, so could anybody help out with suggestions? Very much obliged!
Hi folks, I'm working on a white noise machine. I'm having a hard time finding documentation on what resistor values to use with a 3.5mm jack in order to avoid ear damage due to excessive decibels. I don't want the white noise to drive me deaf! Any suggestions or references? 1000 Ohms seems to get the signal down to a reasonable volume, but I'm afraid to put it too close to my ear until I can find out some facts. Thanks for any help!
I'm working on an Arduino-powered cat toy that makes a laser dot move in an attractive manner around a large area in a room. The idea is that this thing will be mounted onto a wall or ceiling, and I'll have controls that let you adjust speed and range of motion. Links to videos of what I've got so far are at the end of this post.
The motor setup is just a couple of mini-servos, one mounted onto the other, so that I get a 90-degree range of motion in two dimensions. The sketch moves the servos around randomly--nothing fancy!
My question to you folks is whether there's a better, more compact, or more elegant way of getting that kind of range of motion. I'd like to solder all of this together and put it into a project box eventually.
I'm not very experienced with mechanisms or electronics--this is my first "big" project--so any advice or feedback would be appreciated!