Updated animation fragment.
Recoded scaling function.  Corrected clamp limits.
Added theatre chase animation.
Changing all pixel indexes to uint16_t.
Fixing problems with heartbeat LED.  Not tested.
Ditto.
Ditto.
Polling of sensor OK.  Heartbeat LED OK.  Added debug code to hub in place of harness.  Seems OK but more work to be done.