Magnetometer V: Fixed-Point Math

This is another article in my series about developing a magnetometer-based digital compass. Last time, I talked about estimating code size, and what I might do to fit the application in the roughly 5.25K program space available on an Adafruit Trinket.

In this article, I replace the floating-point math with fixed-point, and make various space-saving improvements to the calibration and rotation code. Read on for more.

Medieval Manuscripts

MS20BXX-78vWe’re kickin’ it old-school on SGS today, with a lovely post on the British Library‘s Medieval Manuscripts Blog. The image to the right is from Royal MS 20 B XX. Click the image to see a larger version, or — far better — use the British Library MS Viewer to browse wonderful, high-res zoomable scans of the original.

Warning: All links above are more perilous Internet time-wasting rabbit-holes than Wikipedia and TVTropes combined.