|
|
@@ -19,7 +19,7 @@ |
|
|
|
* Copyright (c) 2012-2013 Gordon Henderson. |
|
|
|
*********************************************************************** |
|
|
|
* This file is part of wiringPi: |
|
|
|
* https://projects.drogon.net/raspberry-pi/wiringpi/ |
|
|
|
* https://github.com/WiringPi/WiringPi/ |
|
|
|
* |
|
|
|
* wiringPi is free software: you can redistribute it and/or modify |
|
|
|
* it under the terms of the GNU Lesser General Public License as published by |
|
|
@@ -215,14 +215,14 @@ int main (int argc, char *argv[]) |
|
|
|
return -1 ; |
|
|
|
} |
|
|
|
|
|
|
|
lcdPosition (lcdHandle, 0, 0) ; lcdPuts (lcdHandle, "Gordon Henderson") ; |
|
|
|
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi.com ") ; |
|
|
|
lcdPosition (lcdHandle, 0, 0) ; lcdPuts (lcdHandle, "Hello World") ; |
|
|
|
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi ") ; |
|
|
|
|
|
|
|
waitForEnter () ; |
|
|
|
|
|
|
|
if (rows > 1) |
|
|
|
{ |
|
|
|
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi.com ") ; |
|
|
|
lcdPosition (lcdHandle, 0, 1) ; lcdPuts (lcdHandle, " wiringpi ") ; |
|
|
|
|
|
|
|
if (rows == 4) |
|
|
|
{ |
|
|
|