1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-22 20:33:09 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Werner Almesberger
69d9013a0d fw/image.c (localize_line): export line format conversion function 2012-07-01 10:20:33 -03:00
Werner Almesberger
6fac517d48 fw/: move secrets to secret.c; rename reset secret to maintenance secret 2012-07-01 10:08:50 -03:00
Werner Almesberger
d651c23a04 fw/proto.h: assorted cleanup and corrections
- remove struct params.clkT_period
- correct size of tp_*_start
- correct size of tp_*_pix
- move MAX_LINES from image.h to proto.h (to ease sharing with tools)

Things now work a bit differently from how they were planned back when
clkT_period was added.
2012-06-27 03:07:56 -03:00
Werner Almesberger
276ffd7f44 fw/image.* (image_secret): make image_secret global, for future sharing 2012-06-27 02:30:39 -03:00
Werner Almesberger
695bc5a25a fw/: reduce image width from 100 to 80 square pixels
To achieve square 100 pixels (1:6.25 image aspect ratio), very vigorous
movement is needed. 80 pixels (still 1:5) are easier. Initial estimates
suggested a usable range of 1:4-1:5, so this is still good.

Note that we may want to change the aspect ratio of the pixels themselves
in the future (for smoother letters), so the pixel count may go up again.

80 pixels correspond to 11 characters in a 7x5 font with 2 pixels
separation between characters. We may want to go up to 82 pixels
to allow a 12th character - or use a proportional font.
2012-06-23 21:57:18 -03:00
Werner Almesberger
87cc67d5f7 fw/: add image data upload (completely untested) 2012-06-20 10:30:40 -03:00
Werner Almesberger
6223a58552 fw/: move image data from sweep.[ch] to new image.[ch] 2012-06-20 07:45:04 -03:00