PDA

View Full Version : Accessing serial I/O from inside a library



lisper
11-08-2012, 10:45 PM
SLSIA. How can I access the serial I/O functions from inside library code? From inside a sketch I can obviously just call Serial.whatever, but that doesn't work in library code.

lisper
11-09-2012, 06:43 AM
Figured it out. The magic incantation is "#include <WProgram.h>"