-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
47 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#pragma once | ||
|
||
#include "DE10x11.nero.hpp" | ||
|
||
/* | ||
* Layout Front | ||
* COL | ||
* X 9 8 7 6 5 4 3 2 1 0 | ||
* ROW + - - - - - - - - - - - | ||
* 0 | E S J I S T L F Ü N F | ||
* 1 | Z E H N Z W A N Z I G | ||
* 2 | D R E I V I E R T E L | ||
* 3 | T F N A C H V O R J M | ||
* 4 | H A L B X Z W Ö L F T | ||
* 5 | Z W E I N S I E B E N | ||
* 6 | L D R E I C I F Ü N F | ||
* 7 | E L F N E U N V I E R | ||
* 8 | U A C H T Z E H N S I | ||
* 9 | C S E C H S T L U H R | ||
*/ | ||
|
||
class De10x11NeroFrame_t : public De10x11Nero_t { | ||
public: | ||
virtual inline const uint8_t numPixelsFrameMatrix() { return 60; } | ||
|
||
//------------------------------------------------------------------------------ | ||
|
||
virtual const bool hasSecondsFrame() override { return true; } | ||
|
||
//------------------------------------------------------------------------------ | ||
|
||
virtual const uint16_t getFrameMatrixIndex(uint16_t index) override { | ||
return 114 + index; | ||
}; | ||
|
||
//------------------------------------------------------------------------------ | ||
|
||
virtual const void getMinuteArray(uint16_t *returnArr, | ||
uint8_t col) override { | ||
for (uint8_t i = 0; i < 4; i++) { | ||
returnArr[i] = 110 + i; | ||
} | ||
}; | ||
}; | ||
|
||
|
||
De10x11NeroFrame_t _de10x11NeroFrame; |