Pervasive Displays Library Suite - Basic edition 8.0.8
Library for Pervasive Displays e-paper screens and EXT3 extension board
|
Utilities for highView Library Suite. More...
Functions | |
Utilities | |
void | delay_ms (uint32_t ms) |
Blocking delay. | |
int32_t | cos32x100 (int32_t degreesX100) |
Cosinus. | |
int32_t | sin32x100 (int32_t degreesX100) |
Sinus. | |
String | utf2iso (String s) |
UTF-8 to ISO-8859-1 Converter. | |
String | formatString (const char *format,...) |
Format string. | |
String | trimString (String text) |
Remove leading and ending characters. | |
Range | |
Utilities to check range, set min and max | |
uint16_t | checkRange (uint16_t value, uint16_t valueMin, uint16_t valueMax) |
Check value in range. | |
void | setMinMax (uint16_t value, uint16_t &valueMin, uint16_t &valueMax) |
Update min and max values. | |
uint32_t | roundUp (uint32_t value, uint16_t modulo) |
Round-up. | |
void | swap (int16_t &a, int16_t &b) |
Swap number, int16_t. | |
void | swap (uint16_t &a, uint16_t &b) |
Swap number, uint16_t. | |
void | swap (uint8_t &a, uint8_t &b) |
Swap number, uint8_t. | |
Utilities for highView Library Suite.
Project Pervasive Displays Library Suite
Based on highView technology
uint16_t checkRange | ( | uint16_t | value, |
uint16_t | valueMin, | ||
uint16_t | valueMax ) |
Check value in range.
value | value to check |
valueMin | range minimum |
valueMax | range maximum |
int32_t cos32x100 | ( | int32_t | degreesX100 | ) |
Cosinus.
degreesX100 | angle in degrees, x100 |
void delay_ms | ( | uint32_t | ms | ) |
String formatString | ( | const char * | format, |
... ) |
Format string.
Based on vsprint
format | format with standard codes |
... | list of values |
uint32_t roundUp | ( | uint32_t | value, |
uint16_t | modulo ) |
Round-up.
value | value to round-up |
modulo | modulo |
void setMinMax | ( | uint16_t | value, |
uint16_t & | valueMin, | ||
uint16_t & | valueMax ) |
Update min and max values.
value | value to consider |
valueMin | minimum value to update if value < valueMin |
valueMax | maximum value to update if value > valueMax |
int32_t sin32x100 | ( | int32_t | degreesX100 | ) |
Sinus.
degreesX100 | angle in degrees, x100 |
void swap | ( | int16_t & | a, |
int16_t & | b ) |
Swap number, int16_t.
a | first number |
b | second number |
void swap | ( | uint16_t & | a, |
uint16_t & | b ) |
Swap number, uint16_t.
a | first number |
b | second number |
void swap | ( | uint8_t & | a, |
uint8_t & | b ) |
Swap number, uint8_t.
a | first number |
b | second number |
String trimString | ( | String | text | ) |
Remove leading and ending characters.
text | input text |
String utf2iso | ( | String | s | ) |
UTF-8 to ISO-8859-1 Converter.
s | UTF-8 string, input |