Changed folder structure to work with Arduino IDE.
Added PWM to output pins and added some extra sleep time.