Subversion Repositories DashDisplay

Rev

Rev 7 | Rev 13 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 9
Line 86... Line 86...
86
                yo - AP_SCALE((siz - len) * co), 1);
86
                yo - AP_SCALE((siz - len) * co), 1);
87
      ang += step;
87
      ang += step;
88
    }
88
    }
89
 
89
 
90
  font_gotoxy (0, 7);
90
  font_gotoxy (0, 7);
91
  int d = low / 10;
-
 
92
  if (d)
-
 
93
    {
-
 
94
      font_putchar (d + '0');
-
 
95
    }
-
 
96
  else
-
 
97
    {
-
 
98
      font_putchar (' ');
-
 
99
    }
-
 
100
  d = low % 10;
-
 
101
  font_putchar (d + '0');
91
  font_digits(2,10,low);
102
 
-
 
103
  font_gotoxy (19, 7);
92
  font_gotoxy (19, 7);
104
  d = high / 10;
-
 
105
  if (d)
-
 
106
    {
-
 
107
      font_putchar (d + '0');
-
 
108
    }
-
 
109
  else
-
 
110
    {
-
 
111
      font_putchar (' ');
-
 
112
    }
-
 
113
  d = high % 10;
-
 
114
  font_putchar (d + '0');
93
  font_digits(2,10,high);
115
 
-
 
116
}
94
}
117
 
95
 
118
void
96
void
119
dial_origin (uint8_t x, uint8_t y)
97
dial_origin (uint8_t x, uint8_t y)
120
{
98
{