Barry Gershenfeld wrote: >>I would like to measure the amplitude of a signal (actually only the top >>half :-). Does anyone have any suggestions or pointers, I'll be using >>the 16F877 ICD as the proto and hope to move over to the 12C67x later. >>The frequency is only 120KHz. >> > > Well then, anytime the processor isn't busy just grab signal > samples off the A/D converter. Record the highest reading you > get after grabbing some number of samples...that's the + amplitude, > assuming it was a real signal you were reading. Sometime things are just that simple, thanks! -- Linux Home Automation Neil Cherry linuxha@home.com http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads