added led indicator support for write operation