Skip to content

Commit

Permalink
v 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Fmulder007 committed Jun 19, 2020
1 parent bbb4a7d commit ee31f74
Show file tree
Hide file tree
Showing 3 changed files with 1,805 additions and 1,768 deletions.
13 changes: 13 additions & 0 deletions Karat2_Sintez/Karat2_Sintez.ino
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#define ENCODER_OPTIMIZE_INTERRUPTS
//#define ENCODER_DO_NOT_USE_INTERRUPTS

char ver[ ] = "v 1.1.0";

byte ONE_WIRE_BUS = 12; // Порт датчика температуры
byte myEncBtn = 4; // Порт нажатия кноба.
byte mypowerpin = 14; // Порт показометра мощности. А0
Expand Down Expand Up @@ -88,6 +90,7 @@ void setup() {
powermeter();
tempsensor ();
timenow ();
versionprint ();
mainscreen();
}

Expand Down Expand Up @@ -464,3 +467,13 @@ void memread() {
memwrite ();
}
}

void versionprint() {
display.clearDisplay();
display.setCursor(0, 0);
display.setTextColor(WHITE);
display.setTextSize(3);
display.println(ver);
display.display();
delay(500);
}
Loading

0 comments on commit ee31f74

Please sign in to comment.