Autodrone
Multi-Domain Vehicle
drv_color.h File Reference

This file is used to change the output color to the terminal. More...

Go to the source code of this file.

Enumerations

enum  color_e {
  BLACK , RED , GREEN , YELLOW ,
  BLUE , PURPLE , CYAN , WHITE
}
 
enum  bf_e { NO , YES }
 

Functions

void color (uint8_t color, uint8_t bf)
 
void colorDefault (void)
 Changes color of print to white with no bf. More...
 
void drawAutodrone (void)
 Draws "AUTODRONE" in different colors. More...
 

Detailed Description

This file is used to change the output color to the terminal.

Author
Jeremy Wolfe
Date
03 MAR 22

Enumeration Type Documentation

◆ bf_e

enum bf_e
Enumerator
NO 
YES 

◆ color_e

enum color_e
Enumerator
BLACK 
RED 
GREEN 
YELLOW 
BLUE 
PURPLE 
CYAN 
WHITE 

Function Documentation

◆ color()

void color ( uint8_t  color,
uint8_t  bf 
)

◆ colorDefault()

void colorDefault ( void  )

Changes color of print to white with no bf.

Returns
Void.

◆ drawAutodrone()

void drawAutodrone ( void  )

Draws "AUTODRONE" in different colors.

Returns
Void.