Skip to content

Commit

Permalink
make work with newest libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
bartslinger committed Oct 29, 2016
1 parent cc207cc commit cbf02a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arduino/SolderStation/SolderStation.ino
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ void setup(void) {
tft.drawBitmap(2,1,stationLOGO1,124,47,ST7735_GREY);

tft.drawBitmap(3,3,stationLOGO1,124,47,ST7735_YELLOW);
tft.drawBitmap(3,3,stationLOGO2,124,47,Color565(254,147,52));
tft.drawBitmap(3,3,stationLOGO3,124,47,Color565(255,78,0));
tft.drawBitmap(3,3,stationLOGO2,124,47,tft.Color565(254,147,52));
tft.drawBitmap(3,3,stationLOGO3,124,47,tft.Color565(255,78,0));

//BAcklight on
digitalWrite(BLpin, HIGH);
Expand Down Expand Up @@ -277,7 +277,7 @@ void writeHEATING(int tempSOLL, int tempVAL, int pwmVAL){

int tempDIV = round(float(tempSOLL - tempVAL)*8.5);
tempDIV = tempDIV > 254 ? tempDIV = 254 : tempDIV < 0 ? tempDIV = 0 : tempDIV;
tft.setTextColor(Color565(tempDIV, 255-tempDIV, 0));
tft.setTextColor(tft.Color565(tempDIV, 255-tempDIV, 0));
if (standby_act)
tft.setTextColor(ST7735_CYAN);
tft.print(tempVAL);
Expand Down

0 comments on commit cbf02a4

Please sign in to comment.