blob: ee85f6e358971409b842730fe76ae556e3b55de8 (
plain) (
tree)
|
|
#include "resistor_color.h"
static resistor_band_t bands[] = {
BLACK, BROWN, RED, ORANGE, YELLOW, GREEN, BLUE, VIOLET, GREY, WHITE
};
int color_code(resistor_band_t color) {
return color;
}
const resistor_band_t* colors(void) {
return bands;
}
|