Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
print_mock.cpp File Reference

Mock of the board print and debugs. More...

Namespaces

namespace  simulator
 Simulator dedicated namespace.
 
namespace  lampda
 Program scope.
 
namespace  lampda::platform
 Handle the platform specific interactions.
 

Functions

void lampda::platform::init_prints ()
 Print and debug function to serial port.
 
void lampda::platform::lampda_print_raw (const char *format,...)
 raw print, no system additional logs
 
void lampda::platform::lampda_print (const char *format,...)
 
Inputs lampda::platform::read_inputs ()
 read external inputs (may take some time)
 

Variables

std::vector< std::string > simulator::inputCommands
 
std::atomic< bool > simulator::canRunInputThread = false
 
std::thread simulator::inputThread
 
std::mutex lampda::platform::mut
 Print a screen to the external world.
 

Detailed Description

Mock of the board print and debugs.