Some generator improvement:
Added sensor configuration code outside initial block;
Initial block removed as deprecated;
Some empty cases processing;
Added color sensor implementation through user_1ms_isr_type hook