*Jonathan* - Are you running in an Arduino environment, or is the AT328 essentially standalone ?
I'm planning to switch to Arduino for my current/future projects, so this is definitely something I'm interested in. One thing I suggest is a 'scramble table' that allows you to handle arbitrary mapping of serially-transmitted bits to specific tubes or segments. The actual timekeeping software would be platform-independent, but a specific user would need to populate the scramble table to adapt to their tube-driver hardware. Basically, the table would be a set of pointers that informs the serialization routine where to get the next bit to send. So, if you had a 6-tube clock, each with 10 cathodes, your table would have 60 entries for the tube data, and perhaps a few more for the colons. If you had eight b7971 tubes (15 segments), you would want at least 120 entries. In my last project, I used an FPGA so the scrambling was done in verilog by re-assigning bits, so it took zero RAM/logic gates. Not true for software, though, but much easier to change. -- You received this message because you are subscribed to the Google Groups "neonixie-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+unsubscr...@googlegroups.com. To post to this group, send an email to neonixie-l@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/60eefacf-69d0-4f9b-94e7-570d853f37d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.