Add christmas edition
This commit is contained in:
parent
2f1c7d9e82
commit
b62af486a7
74 changed files with 3422 additions and 1 deletions
23
christmas/AdAstra/src/mediator/mediator.h
Normal file
23
christmas/AdAstra/src/mediator/mediator.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef MEDIATOR_H
|
||||
#define MEDIATOR_H
|
||||
|
||||
#include <avr/io.h>
|
||||
|
||||
|
||||
// Setup the drivers, and business layer objects and their relations
|
||||
// It is kind of a very basic dependency injection.
|
||||
void setupConnections();
|
||||
|
||||
// Start drawing frames and ticking objects
|
||||
void startGame();
|
||||
|
||||
// Make the machine go to sleep
|
||||
void handleOff();
|
||||
|
||||
// Increase or decrease the contrast (brightness) of the display
|
||||
// by the given value
|
||||
// The contrast can be any number between 0 and 255.
|
||||
// The function automatically clamps the contrast.
|
||||
void changeDisplayContrast(int8_t by);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue