eBoard ①⑧⑨
Written for SIA 2017/2018
eagle_Comfort.h File Reference

this file contains sine8 and gamma8 More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int sine8 (uint8_t val)
 will return the mapped 8-bit sin you can use in e.g. NeoPixel More...
 
int gamma8 (uint8_t val)
 will return the mapped 8-bit gamma correction you can use in e.g. NeoPixel More...
 

Detailed Description

this file contains sine8 and gamma8

Last Updated:

Version
3.2.0a

Definition in file eagle_Comfort.h.

Function Documentation

◆ gamma8()

int gamma8 ( uint8_t  val)
inline

will return the mapped 8-bit gamma correction you can use in e.g. NeoPixel

Parameters
valthe value [0-255] to map
Returns
the mapped value

◆ sine8()

int sine8 ( uint8_t  val)
inline

will return the mapped 8-bit sin you can use in e.g. NeoPixel

Parameters
valthe value [0-255] to map
Returns
the mapped value