fixed bubble example for AVR