An Attitude Compensation Technique for a MEMS Motion Sensor Based Digital Writing Instrument | IEEE Conference Publication | IEEE Xplore