View Single Post
Old 10-30-2015, 06:23 PM   #2262 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Looks good! You can actually still use the PGD & PGC for the programmer AND for the analog inputs, and still not lose your debugging ability. You just tie PGD to EMUDx and PGC to EMUCx (for any x that is convenient). EMUD and EMUC are alternate debugging pins. So, you would include a toggle switch. You switch it to state A to program it, then switch it to state B to either debug the program, or just run the program like normal, using those pins as analog. I'm doing that this time with a project for my job.
__________________
kits and boards
  Reply With Quote
The Following 3 Users Say Thank You to MPaulHolmes For This Useful Post:
e*clipse (10-30-2015), Piotrsko (10-30-2015), thingstodo (10-31-2015)