arduino and attiny code updated