generated from TDD-Templates/cmake_cpputest_template
fixed up the placement of the direction indicator
This commit is contained in:
parent
6c0e016c20
commit
9f8982f60c
|
@ -285,10 +285,10 @@ void TFT_UpdateDistance(uint16_t meters) {
|
||||||
// the led ring.
|
// the led ring.
|
||||||
void TFT_UpdateDirection(uint16_t degrees) {
|
void TFT_UpdateDirection(uint16_t degrees) {
|
||||||
tft.setTextWrap(false);
|
tft.setTextWrap(false);
|
||||||
tft.setCursor(0, 40);
|
tft.setCursor(0, 150);
|
||||||
tft.setTextColor(ST77XX_WHITE);
|
tft.setTextColor(ST77XX_WHITE);
|
||||||
tft.setTextSize(2);
|
tft.setTextSize(3);
|
||||||
tft.println(meters);
|
tft.print(meters);
|
||||||
tft.println(" Degrees");
|
tft.println(" Degrees");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue