Micro Controller Programming for IoT Applications with ATmega Controller