ad-astra/space_game/SpaceGame/src/mediator/mediator.h
schmelczerandras c6063e28a4 Add documentation
2020-06-07 16:00:15 +02:00

20 lines
519 B
C

#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();
/// 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