Gravar-mail: Modular use of peripheral input channels tunes motion-detecting circuitry