From 9c34b829ef31d7284d19b40747d895e09450b4e2 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Mon, 9 Jun 2014 14:45:03 +0100 Subject: [PATCH] 4digitdisplay.cxx: add Interesting tag and remove pointless array Signed-off-by: Brendan Le Foll --- examples/4digitdisplay.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/4digitdisplay.cxx b/examples/4digitdisplay.cxx index 5aeace6a..06b77024 100644 --- a/examples/4digitdisplay.cxx +++ b/examples/4digitdisplay.cxx @@ -29,10 +29,10 @@ int main(int argc, char **argv) { - uint8_t data[] = { 0xaa, 0xff, 0xff, 0xff }; - + //! [Interesting] upm::TM1637 *display = new upm::TM1637(8, 9); // di - 8, dcki - 9 - display->write ("1981"); + display->write ("1337"); + //! [Interesting] std::cout << "exiting application" << std::endl;