Skip to content

Commit b7d9c95

Browse files
authored
Merge pull request #209 from dbambus/main
Changed filenames of Weather and 24h layout
2 parents d1fb4f5 + 9c18f64 commit b7d9c95

File tree

6 files changed

+19
-16
lines changed

6 files changed

+19
-16
lines changed

include/Uhr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ enum ClockType {
224224
Ger11x11 = 3,
225225
Ger11x11V2 = 8,
226226
Ger11x11Frame = 4,
227-
Ger21x11Weather = 5,
228-
Ger17x17 = 7,
227+
Ger22x11Weather = 5,
228+
Ger16x18 = 7,
229229
Nl10x11 = 9,
230230
};
231231

include/Uhrtypes/DE17x17.hpp renamed to include/Uhrtypes/DE16x18.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
*/
2626

27-
class De17x17_t : public iUhrType {
27+
class De16x18_t : public iUhrType {
2828
public:
2929
virtual LanguageAbbreviation usedLang() override {
3030
return LanguageAbbreviation::DE;
@@ -486,4 +486,4 @@ class De17x17_t : public iUhrType {
486486
};
487487
};
488488

489-
De17x17_t _de17x17;
489+
De16x18_t _de16x18;

include/Uhrtypes/DE21x11.weather.hpp renamed to include/Uhrtypes/DE22x11.weather.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* D R E I ẞ I G O ° C X
3131
*/
3232

33-
class De21x11Weather_t : public iUhrType {
33+
class De22x11Weather_t : public iUhrType {
3434
public:
3535
virtual LanguageAbbreviation usedLang() override {
3636
return LanguageAbbreviation::DE;
@@ -600,4 +600,4 @@ class De21x11Weather_t : public iUhrType {
600600
};
601601
};
602602

603-
De21x11Weather_t _de21x11Weather;
603+
De22x11Weather_t _de22x11Weather;

include/clockWork.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,10 +676,10 @@ iUhrType *ClockWork::getPointer(uint8_t type) {
676676
return &_de11x11V2;
677677
case Ger11x11Frame:
678678
return &_de11x11frame;
679-
case Ger21x11Weather:
680-
return &_de21x11Weather;
681-
case Ger17x17:
682-
return &_de17x17;
679+
case Ger22x11Weather:
680+
return &_de22x11Weather;
681+
case Ger16x18:
682+
return &_de16x18;
683683
case Eng10x11:
684684
return &_en10x11;
685685
default:

include/config.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,14 @@
4040
// Same Layout as Ger11x11, but with additional LED's to illuminate the frame
4141
// from the side
4242
//
43-
// #define DEFAULT_LAYOUT Ger21x11Weather
44-
// clock with weather forecast 242 LED's
43+
// #define DEFAULT_LAYOUT Ger22x11Weather
44+
// 22 rows, each 11 LED's per row, with weather forecast on overall 242 LED's
45+
// based on design of Github user @Eisbaeeer
46+
//
47+
// #define DEFAULT_LAYOUT Ger16x18
48+
// 16 rows, each 18 LED's per row, with the layout WordClock24h of
49+
// mikrocontroller.net
4550
//
46-
// #define DEFAULT_LAYOUT Ger17x17
47-
// Clock with 24 hours display 18x16
4851
//
4952
/**********************/
5053
/* Dutch */

webpage/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ <h2>Front</h2>
183183
<option value="3">DE 11x11</option>
184184
<option value="8">DE 11x11 v2</option>
185185
<option value="4">DE 11x11 Frame</option>
186-
<option value="5">DE 21x11 Weather</option>
187-
<option value="7">DE 17x17 </option>
186+
<option value="5">DE 22x11 Weather</option>
187+
<option value="7">DE 16x18 </option>
188188
<option value="10">EN 10x11</option>
189189
<option value="9">NL 10x11</option>
190190
</select>

0 commit comments

Comments
 (0)