This is my first posting to this forum.
I’ve been trying to get the telegraph example to compile but I keep running into a different error than Henri reported. I typed all the code in just as the book instructs… but kept seeing an error in the telegraph.cpp file. Then I downloaded the code from this site and tried again and got the same error. In the Telegraph constructor, the line “pinMode(_output_pin, OUTPUT);” throws an error in the Arduino 1.0 IDE that says “ ‘OUTPUT’ was not declared in this scope”
I’m not a C++ developer, but I do use a lot of higher level scripting languages. I understand the concept of scope, but I don’t see the problem in this environment. I’m using the latest Arduino IDE on a new Win7, 64 bit computer.