BUTTERFLY AVR

Apesar de ser antigo...eu recomendo!!!!
Muito interessante de trabalhar!
TCPIPCHIP
Muito interessante de trabalhar!
TCPIPCHIP
Fórum sobre desenvolvimento de sistemas embarcados: Hardware e Software, Tecnologias: Eletrônica digital e analógica, Microcontroladoras, Microprocessadores, Sistemas *NIX (Linux, BSD), Software embarcado Baremetal. Sem fins lucrativos.
http://www.asm51.com.br/phpbb/
const MENU_NEXTSTATE menu_nextstate[] PROGMEM = {
// STATE INPUT NEXT STATE
{ST_AVRBF, KEY_PLUS, ST_OPTIONS},
{ST_AVRBF, KEY_NEXT, ST_AVRBF_REV},
{ST_AVRBF, KEY_MINUS, ST_TIME},
{ST_AVRBF_REV, KEY_PREV, ST_AVRBF},
{ST_TIME, KEY_PLUS, ST_AVRBF},
{ST_TIME, KEY_NEXT, ST_TIME_CLOCK},
{ST_TIME, KEY_PREV, ST_AVRBF},
{ST_TIME, KEY_MINUS, ST_VCARD},
{ST_TIME_CLOCK, KEY_PLUS, ST_TIME_DATE},
{ST_TIME_CLOCK, KEY_NEXT, ST_TIME_CLOCK_FUNC},
{ST_TIME_CLOCK, KEY_PREV, ST_TIME},
{ST_TIME_CLOCK, KEY_MINUS, ST_TIME_DATE},
{ST_TIME_CLOCK_ADJUST, KEY_PLUS, ST_TIME_CLOCKFORMAT_ADJUST},
{ST_TIME_CLOCK_ADJUST, KEY_ENTER, ST_TIME_CLOCK_ADJUST_FUNC},
{ST_TIME_CLOCK_ADJUST, KEY_PREV, ST_TIME_CLOCK_FUNC},
{ST_TIME_CLOCK_ADJUST, KEY_MINUS, ST_TIME_CLOCKFORMAT_ADJUST},
// mt MENU_STATE menu_state[] = {
const MENU_STATE menu_state[] PROGMEM = {
// STATE STATE TEXT STATE_FUNC
{ST_AVRBF, MT_AVRBF, NULL},
{ST_AVRBF_REV, NULL, Revision},
{ST_TIME, MT_TIME, NULL},
{ST_TIME_CLOCK, MT_TIME_CLOCK, NULL},
{ST_TIME_CLOCK_FUNC, NULL, ShowClock},
{ST_TIME_CLOCK_ADJUST, MT_TIME_CLOCK_ADJUST, NULL},
{ST_TIME_CLOCK_ADJUST_FUNC, NULL, SetClock},