Guía de Usuario USBasp V3.0| HeTPro
if ((ADC_Val < 164) && (ADC_Val > 160))
if ((ADC_Val < 14) && (ADC_Val > 12))
if ((ADC_Val < 150) && (ADC_Val > 148))
if ((ADC_Val < 124) && (ADC_Val > 122))
if ((ADC_Val < 241) && (ADC_Val > 239))
if ((ADC_Val < 129) && (ADC_Val > 127))
if ((ADC_Val < 78) && (ADC_Val > 76))
if ((ADC_Val < 208) && (ADC_Val > 206))
if ((ADC_Val < 105) && (ADC_Val > 103))
if ((ADC_Val < 188) && (ADC_Val > 186))
if ((ADC_Val < 50) && (ADC_Val > 48))
if ((ADC_Val < 90) && (ADC_Val > 88))
num_matriz(Matriz);
}
}
#include <AVR/io.h>
#include <util/delay.h>
int Matriz=0;
int numero[12][8] = {{255,129,60,60,60,60,129,255}, //0
Matriz=1;
Matriz=2;
Matriz=3;
Matriz=4;
Matriz=5;
Matriz=6;
Matriz=7;
Matriz=8;
Matriz=9;
Matriz=0;
Matriz=10;
Matriz=11;
{255,255,190,0,0,254,255,255},
{156,56,56,56,52,44,28,152},
{153,60,60,44,12,12,33,97},
{191,15,15,239,239,239,0,0},
{233,200,172,44,44,44,32,177},
{241,192,172,44,44,44,32,177},
{159,63,60,56,51,39,15,63},
{153,0,102,102,102,102,0,153},
{141,54,54,54,54,54,0,129},
//1
//2
//3
//4
//5
//6
//7
//8
//9
51