File utils.hpp
FileList > e-paper-board > src > utils > utils.hpp
Go to the source code of this file.
Užitečné funkce. More...
#include "display/gfxlatin2.h"
#include "string.h"
#include <string>
Public Static Functions
Type | Name |
---|---|
int | minToSec (int minutes) Převede číslo ze sekund na milisekundy. |
const char * | printCz (const char * str) Upraví český znak pro správné zobrazení na displeji. |
const char * | printCz (std::string str) Upraví český znak pro správné zobrazení na displeji. |
int | secToMs (int sec) Převede číslo ze sekund na milisekundy. |
const char * | substr (std::string text, int start, int end) |
Detailed Description
Author:
Kuba Andrýsek (email@kubaandrysek.cz)
Date:
2022-04-10
Copyright:
Copyright (c) 2022 Kuba Andrýsek
Public Static Functions Documentation
function minToSec
Převede číslo ze sekund na milisekundy.
static int minToSec (
int minutes
)
Parameters:
sec
Číslo v sekundách
Returns:
int Číslo v milisekundách
function printCz
Upraví český znak pro správné zobrazení na displeji.
static const char * printCz (
const char * str
)
Parameters:
const
char* Český text
Returns:
const char* Upravený text
function printCz
Upraví český znak pro správné zobrazení na displeji.
static const char * printCz (
std::string str
)
Parameters:
str
Český text
Returns:
const char* Upravený text
function secToMs
Převede číslo ze sekund na milisekundy.
static int secToMs (
int sec
)
Parameters:
sec
Číslo v sekundách
Returns:
int Číslo v milisekundách
function substr
static const char * substr (
std::string text,
int start,
int end
)
The documentation for this class was generated from the following file sw/e-paper-board/src/utils/utils.hpp