c10x10rgb  2.0.0.0
Functions | Variables
main.c File Reference

10x10 RGB Click example More...

#include "board.h"
#include "c10x10rgb.h"

Functions

void application_init (void)
 
void application_task (void)
 
void main (void)
 

Variables

const uint32_t MIKROE_IMAGE [100]
 

Detailed Description

10x10 RGB Click example

Description

This example showcases how to initialize, configure and use the 10x10 RGB click moduel. The click has a 10 by 10 RGB LED matrix which can be programmed to show different colors or even images. LED elements that form the matrix communicate by a single line with the host MCU.

The demo application is composed of two sections :

Application Init

This function initializes and configures the click board.

Application Task

This function first displays 3 chars { R, G, B }, the string "MIKROE", the company logo and a rainbow in the end.

Note
Timing sequence chart: --------—| T0L T0H |______________ Logic 0: T0H ~ 200-400ns T0L ~ 600-1000ns

--------—| T1L T1H |______________ Logic 1: T1H ~ 600-1000ns T1L ~ 600-1000ns

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )

Variable Documentation

◆ MIKROE_IMAGE

const uint32_t MIKROE_IMAGE[100]
Initial value:
=
{
0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,
0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,
0x000000,0x000000,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x000000,
0x000000,0x181800,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,
0x000000,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x000000,
0x000000,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x000000,
0x000000,0x181800,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,
0x000000,0x000000,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x181800,0x000000,
0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,
0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000,0x000000
}