Polished the display calculation routine into a more generalized 64-bit calculation pseudo-microprocessor. Named it SWEET64, taking inspiration from a near-childhood piece of software I used to program with (SWEET16). Re-wrote the 64-bit division and multiplication routines to run under SWEET64, which shaved off some 600 bytes, and permanently moved the core MPGuino code to under 12000 bytes. The code code stands now at 11742 bytes, while the code with data-logging and idle/EOC tracking (as with the base 0.86 code) stands at 12094 bytes.
Added support for a Parallax 3-wire RS232 LCD display. Unfortunately, the Parallax display does not allow software control of LCD contrast. Similarly, the display only allows software to either turn on of turn off the LCD backlighting. However, the Parallax display does come with this really annoyingly loud speaker, which should be useful for alarms.
Also got my hands on a Tinkerkit LCD module, which apparently has a built-in AtMega32u4. This is almost the complete MPGuino hardware, needing only buttons, injector signal shaping circuitry, and VSS signal shaping circuitry to be complete. (We're talking about two diodes, two resistors, and two capacitors, here). You can get them from MCM Electronics for $50, or from Radio Shack at a clearance price of $30 (while they last).
Next stop - going to modify my code to work on this TinkerKit LCD module.
|