Started changing some delays to base avr code.