You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
242 B
22 lines
242 B
3 years ago
|
#ifndef RESISTOR_COLOR_H
|
||
|
#define RESISTOR_COLOR_H
|
||
|
|
||
|
typedef enum {
|
||
|
BLACK = 0,
|
||
|
BROWN,
|
||
|
RED,
|
||
|
ORANGE,
|
||
|
YELLOW,
|
||
|
GREEN,
|
||
|
BLUE,
|
||
|
VIOLET,
|
||
|
GREY,
|
||
|
WHITE
|
||
|
} resistor_band_t;
|
||
|
|
||
|
#define color_code(color) color
|
||
|
|
||
|
const resistor_band_t* colors();
|
||
|
|
||
|
#endif
|