Add input-pwm support along with platform tweaks for Gumstix AeroCore

This looks like it's reading from stdin, which makes no sense. If you mean to call the read method, the first argument is nullptr, not 0; it may be clearer to use this->read() instead.