The simple answer to that is, control 6 LED's separately with only a 8 pin DIP package.
The simple answer to that is, control 6 LED's separately with only a 8 pin DIP package.
http://ww1.microchip.com/downloads/e...doc/40040b.pdf
And with one input to spare.
Last edited by dhouston; - 13th September 2009 at 04:05.
Hi Dave,
I figure (?) you're talking about tip 2 I/O multiplexing ? That may just work for my application. I'll take a close look at it now, it however means redesigning my PCB and changing the code.
And wouldn't it leave 2 outputs to spare, GPIO.4 and .5 ?
Thanks,
SS
EDIT: or was it tip 3 ?
Last edited by Sam; - 13th September 2009 at 04:10.
Here is another option.
http://www.picbasic.co.uk/forum/showthread.php?t=10200
But it would be a complete redesign.
Dave
Always wear safety glasses while programming.
Well that's very impressive that your 7 year old did some of the the work and the code ! And it's a very nice project, but it's not practical for my project as it must be on a 1" diameter single sided PCB.
Thanks for the link anyway, it looks like the multiplexing will have to be the way to go for me.
SS
Hey Dave,
Thank you very much, that multiplexing completely solved my issue ! I never thought about doing it like that but once you see it (tip 2) it makes perfect sense. It's just what I needed and it's working great.
You're a great asset to the forum and I really appreciate all your help,
SS
I'm surprised I remembered it. I had a copy of that PDF on a network HDD which failed a few weeks back but vaguely recalled it had several unconventional but simple methods for getting the most out of minimal hardware. I have a new, bigger NAS drive but had not grabbed a copy of the PDF until your post jogged my synapses.
The Atmel AVR ATTiny12 allows you to use MCLR as an open drain output but its pinout is different.
I think that is officially called "Charlieplexing" and is a method originally though up by someone from Maxim Semi. Check this webpage:
http://en.wikipedia.org/wiki/Charlieplexing
Tim Barr
Bookmarks