PaxInstruments / t400-firmware

Firmware for the Pax Instruments T400 temperature datalogger
22 stars 5 forks source link

Use only one u8glib font #95

Closed charlespax closed 10 years ago

charlespax commented 10 years ago

This will limit any memory usage. I believe we are already in this state.

Ref, "Between the u8glib, vprintf, sd and usb there is not much left of the 32K flash. Having an open source project with low memory margin is not great but on the other hand the Arduino compatibility is a big plus IMO. Some u8glib fonts require more memory than others, and possibly you make the existing fonts sparse, including only characters that you need (yak). There are other memory considerations with u8glib, for example drawing a rounded rectangle pulls the circle logic which adds ~800B IIRC. If you need to speed up the drawing there are also tricks for that (you don't need to redraw the entire screen on each iteration of the picture loop, just that portion of the screen. BTW, the u8glib developer is very responsive on the Android/Display forum." -zapta http://www.eevblog.com/forum/oshw/pax-instruments-t400-thermocouple-temperature-datalogger/

charlespax commented 10 years ago

Matt, can you confirm we're only using one font and close this?

cibomahto commented 10 years ago

Aye aye