Update readme.md

This commit is contained in:
javalang 2018-11-15 19:35:57 +01:00 committed by GitHub
parent f83bf25f76
commit 4702661e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -42,9 +42,7 @@ Repeating the steps above for the minutes and seconds hand and we are ready. And
int pivy=35; int pivy=35;
//hour-hand //hour-hand
TFTShape hand=TFTShape::buildNgon(5,60); TFTShape hand=TFTShape::buildNgon(5,60);
hand.setScale(.08,.8); hand.setScale(.08,.8); hand.setPivot(0,pivy); hand.setRotation(170);
hand.setPivot(0,pivy);
hand.setRotation(170);
hand.fill(&tft2,120,160-pivy,TFT_GREY); hand.fill(&tft2,120,160-pivy,TFT_GREY);
//minutes-hand //minutes-hand
hand.setScale(.08,1); hand.setRotation(240); hand.setScale(.08,1); hand.setRotation(240);