Firmware for NoteOn Smart Pen Project