(from Joe's suggested sample-and-store to using PWM+NCO) Hi James as the NCO is basically a timer module, no reason why you can't sample and store values as you would for any other timer. Or use data generated from the pulse times in your spreadsheet. Either way the end result will be fairly straightforward table reading for reproduction The formula approach is a viable option although probably more development time. The danger is that if you do go that way you might not like the sweep and have to tinker Joe ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7690 / Virus Database: 4627/12692 - Release Date: 07/27/16 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .