hi, by chance has anybody in their travels done/seen a project or some code written for a pic. to mimic a switchmode ic. i want to use a 12c508 to replace a lm3524 / tl494 ic for my project !. project/code for any type of pic used in this area would be of assistance ,& give me something to work from thanks for your help & time glen