Stop, stop, stop.
I have just counted 65 messages in this thread and we have already descended into bickering. That wasn't meant to happen until at least the middle of next week.
It's probably only lunchtime for you guys across the pond, but I have just had a wonderful dinner of roast chicken, roast parsnips, baked potatoes, carrots and brussle sprouts (why do we call them that? I don't think they came from Brussles) accompanied by a bottle of Fetzer Sundial Merlot 2004. Why do those Californian winemakers insist on pouring molten wax on top of the cork, it never comes off cleanly and there's always bits floating about, but that's another story. Followed by chocolate and coffee cheesecake with fresh cream. Mmmm, and all cooked by me!
Well I think it's time to announce the winners already, otherwise I'll never be able to toast them all between now and the New Year. My wine cellar only has 47 bottles in it at the moment!!
First prize for most elegant hardware solution goes to Andrew Holme for his 16V8 code.
First prize for lowest number of discrete components to Ken Smith.
First prize for the best off the wall solution goes to Rich for his diode matrix.
This is just a personal thing but anyone who even mentioned PIC has been killfiled (no not really, but you get my meaning) as I'm an AVR and ARM protagonist. I have to say that all of the software solutions have been as ugly as my original code. OK, a look-up table is probably the fastest solution but it is soooo UGLY. 'if' 'else if' etc. or switch{} are also OK but have no elegance.
Sorry guys, but so far the software solutions have been meagre but what else did I expect from a group whose favourite programming language is 'Solder'.
Jim appeared to be working on a solution but faded at the last furlong, but where was Win? He doesn't seem to have even made it out of the starting gate.
Anyway, I congratulate all of the hardware winners, and will toast them all very soon. As for you software guys, well you've failed me and I'll just have to drink an extra toast to Anon in the hope that he/she will come up with the magic bullet solution. Why did we always use that phrase along with 'Paradigm shift' in the batwing corporation?
Merry Christmas to all from the pagan in the West of Scotland.