c7segrgb 2.0.0.0
main.c File Reference

7-SEG RGB Click example More...

#include "board.h"
#include "c7segrgb.h"
#include "c7segrgb_delays.h"

Functions

void logic_one (void)
 
void logic_zero (void)
 
void application_init (void)
 
void application_task (void)
 
int main (void)
 

Detailed Description

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
Make sure the logic delays are defined for your system in the c7segrgb_delays.h file.
Additional Functions :
void logic_one ( )  - Generic logic one function.
void logic_zero ( ) - Generic logic zero function.
  • segments layout 0 5| |1 |_6_| 4| |2 |_3_|.7
Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void )

◆ application_task()

void application_task ( void )

◆ logic_one()

void logic_one ( void )

◆ logic_zero()

void logic_zero ( void )

◆ main()

int main ( void )