-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
811 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
ChangeLog of Rpi-hw - A free C++ library designed to manage the Raspberry Pi's GPIO connector and its other buses. | ||
|
||
============ Rpi-hw 0.7.1 - urgency=low =========== | ||
|
||
2013-12-24 Wicker25 < [email protected] > | ||
|
||
* all: Added `__ENUM` and `__ENUM_PARAMS` macros. | ||
|
||
* utils.hpp: Added support for UTF-16 and UTF-32 string to the `utils::align`. | ||
|
||
* hd44780.hpp: Added support for Unicode strings. | ||
|
||
============ Rpi-hw 0.7.0 - urgency=low =========== | ||
|
||
2013-12-07 Wicker25 < [email protected] > | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.7.0 | ||
0.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
Title --- lcd16x2_unicode.cpp [examples] | ||
Copyright (C) 2013 Giacomo Trudu - wicker25[at]gmail[dot]com | ||
This file is part of Rpi-hw. | ||
Rpi-hw is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation version 3 of the License. | ||
Rpi-hw is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with Rpi-hw. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
|
||
// Include Rpi-hw headers | ||
#include <rpi-hw.hpp> | ||
#include <rpi-hw/display/hd44780.hpp> | ||
|
||
// Use Rpi-hw namespace | ||
using namespace rpihw; | ||
|
||
int | ||
main( int argc, char *args[] ) { | ||
|
||
// Create the display controller | ||
display::hd44780 dev( 14, 18, 4, 17, 21, 22 ); | ||
|
||
// Initialize the 16x2 display | ||
dev.init( 16, 2, display::hd44780::ROM_A00 ); | ||
|
||
// Write a string on the display | ||
dev.write( U"ハローワールト゜" ); | ||
|
||
return 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.