// Chapter 13 6808 C programs // Jonathan W. Valvano // This software accompanies the book, // Embedded Microcomputer Systems: Rea…
Moore+FSM 源代码
汇集 Moore+FSM 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
// Chapter 8 6805 C programs // Jonathan W. Valvano // This software accompanies the book, // Embedded Microcomputer Systems: Real…
CFLAGS=-Wall -g #-DDEBUG all: sample B:B.o fsm.o hash.o sample:sample.o fsm.o hash.o comm:comm.o fsm.o hash.o serial.o fsm.o:…
#ifndef FSM_H #define FSM_H #define MAX_SYMBOL_LEN 40 /** * typedef of the callback function pointer type, * every callback …
#include"fsm.h" #include #include void go_straight(const unsigned char *none) { printf("go straight\n"); } void turn_left(const…
#include"fsm.h" #include"hash.h" #include #include #include #include #ifndef DEBUG #define ifdbg if(0) #else #define ifdbg if(1) …
#include"fsm.h" #include #include void wakeup(const unsigned char *none) { printf("i waked up.\n"); } void eat(const unsigned c…
/**************************************** * Author: Nathaniel Meyer * * E-Mail: nath_meyer@hotmail.com * * Website: http://…
/**************************************** * Author: Nathaniel Meyer * * E-Mail: nath_meyer@hotmail.com * * Website: http://…