These do some simple sorting rules and solve A0/1/2/3 and C6/7/8/9. A6/7/B0/1 are more tricky, because the timers being used are the least contentious ones - even if they're wrong :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, I've just committed some changes (should appear here soon: http://www.espruino.com/binaries/git/commits/adbee03e57766746a91ce665fdcb0162daa28ffa)
These do some simple sorting rules and solve A0/1/2/3 and C6/7/8/9. A6/7/B0/1 are more tricky, because the timers being used are the least contentious ones - even if they're wrong :)