examples/pulses main() for Linux PC test version.

More work to do,
so untested.