mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-01 07:24:58 +02:00
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.
This commit is contained in:
parent
7816ea89d5
commit
695bc5a25a
@ -28,7 +28,7 @@ static struct sweep sweep = {
|
||||
.wait_ticks = 60000, /* 60 ms */
|
||||
.pixel_ticks = 1000, /* 1 ms */
|
||||
.left = 0,
|
||||
.right = 79,
|
||||
.right = MAX_LINES-1,
|
||||
.forward = 1,
|
||||
};
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
#define MAX_LINES 100
|
||||
#define MAX_LINES 80
|
||||
|
||||
|
||||
struct line {
|
||||
|
Loading…
Reference in New Issue
Block a user