mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
4digitdisplay.cxx: add Interesting tag and remove pointless array
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
parent
451d0390b6
commit
9c34b829ef
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user