basic interfacing examples with avr micro controllers