Added the nicta and pwm stuff, minor updates to rgb.