Will not run on emulator!

Written for XC8 v1.20. I use MPLAB8 so haven't included project file -

just create a project, add the 2 source files, and set the code offset to 0x1820

Functions :

At powerup/reset, shows greyscale for a while then goes to ball effect

4 buttons select one of 4 effects :

L - slow-changing ball-griddy thing

T - soft of 'Conway life' type thing - pixel brightness grows or fades depending on density of neighbours

R -falling drops

B - Bouncy 3d-ish ball

Int - on/off (I've not tested power draw when off- _should_ be OK, but someone please check!)