Basic code for all LED modes. Compiles, untested.