Skip to content

Commit 032a72a

Browse files
committed
Implement character position correction
1 parent c75c3b5 commit 032a72a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

demo/avr/frame/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ int main(void)
2020
{
2121
frame_init();
2222

23-
GFX_Point position = { 106, 2 };
23+
GFX_Point position = { 106, 3 };
2424
GFX_Size size = { 10, 10 };
2525

2626
frame_draw_text("Init", position);
2727

2828
position.x = 100;
29-
position.y = 35;
29+
position.y = 36;
3030

3131
// Short version:
3232
//position = (GFX_Point){ 100, 35 };
@@ -39,7 +39,7 @@ int main(void)
3939
//frame_draw_number(&(unsigned int){16}, 4, NUMERIC_Unsigned_Int, NUMERIC_Decimal, position);
4040

4141
position.x = 75;
42-
position.y = 35;
42+
position.y = 36;
4343
frame_draw_number_int(-116, 4, NUMERIC_Decimal, position);
4444

4545
_delay_ms(2000);
@@ -61,7 +61,7 @@ int main(void)
6161
}
6262

6363
position.x = 2;
64-
position.y = 47;
64+
position.y = 48;
6565
frame_draw_number_uint(temp, 3, NUMERIC_Decimal, position);
6666

6767
_delay_ms(50);

demo/lib/drivers/display/ssd130x

0 commit comments

Comments
 (0)