7-SEG RGB Click example
Description
This click shows all ten digits on a full-color single 7 segment digit display. Each segment has R, G, B LEDs that can be adjusted in 255 steps and the ability to control the brightness of all the LED.
The demo application is composed of two sections :
Application Init
Initialization driver enables - GPIO.
Application Task
This is an example which demonstrates the use of 7-SEG RGB Click board. This simple example shows all ten digits in different colors on 7-SEG RGB click.
note:
Additional Functions :
void logic_one ( ) - Generic logic one function.
void logic_zero ( ) - Generic logic zero function.
void set_color ( uint8_t green, uint8_t red, uint8_t blue )
- Set the color of the LSB segment of the display function.
void set_seven_segment ( uint8_t character, uint8_t green_brightness, uint8_t red_brightness, uint8_t blue_brightness )
- Set whole character and color function.
- Author
- MikroE Team