operations |
comment | "parent_author":"",<br>"parent_permlink":"utopian-io",<br>"author":"lapilipinas",<br>"permlink":"arduino-blog-no-12-how-to-make-a-progress-bar-using-oled-display-and-rotary-encoder",<br>"title":"Arduino Blog no.12 How to make a progress bar using Oled Display and Rotary encoder",<br>"body":"@@ -32,<br>60 +32,<br>23 @@\n com\/\n-lapilipinas\/Arduino-progressBAR-OLEDandRotaryEncoder\n+arduino\/Arduino\n %0A%0A**\n@@ -6740,<br>24 +6740,<br>57 @@\n : progress;\n+ \/\/ set the progress value to 100\n %0A progress\n@@ -6815,<br>24 +6815,<br>55 @@\n 0 :progress;\n+ \/\/ start the counting to 0-100\n %0A float ba\n@@ -7009,<br>297 +7009,<br>81 @@\n TE);\n-%0A \n \/\/ \n-Display progress text%0A if( height %3E= 15)%7B%0A display.setCursor((width\/2) -3,<br> y+5 );%0A display.setTextSize(1);%0A display.setTextColor(WHITE);%0A if( progress %3E=50)%0A display.setTextColor(BLACK,<br> WHITE); \/\/ 'inverted' text%0A display.print(progress);%0A display.print(%22%25%22);\n+initailize the graphics fillRect(int x,<br> int y,<br> int width,<br> int height)\n %0A %7D\n",<br>"json_metadata":" \"community\":\"busy\",<br>\"app\":\"busy\/2.4.0\",<br>\"format\":\"markdown\",<br>\"links\":[\"https:\/\/github.com\/arduino\/Arduino\",<br>\"https:\/\/cdn.arduino.cc\/homepage\/static\/media\/arduino-UNO.bcc69bde.png\",<br>\"https:\/\/learn.sparkfun.com\/\u00adtutorials\/\u00adwhat-is-an-arduino\",<br>\"https:\/\/github.com\/adafruit\/Adafruit_SSD1306\",<br>\"https:\/\/github.com\/lapilipinas\/Arduino-progressBAR-OLEDandRotaryEncoder\",<br>\"https:\/\/www.arduino.cc\",<br>\"https:\/\/github.com\/adafruit\/Adafruit_SSD1306\",<br>\"http:\/\/fritzing.org\/download\/\",<br>\"https:\/\/busy.org\/\",<br>\"https:\/\/www.sparkfun.com\/\" ,<br>\"tags\":[\"utopian-io\",<br>\"tutorials\",<br>\"esteem\",<br>\"busy\",<br>\"diy\" " |
|