⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cereb.h

📁 a zipped example of communication between the Cerebellum 16f877 pic board and the CMUcam. There are
💻 H
字号:
// Declarations file for Cerebellum Programming Software 

#define SER_9600 129
#define SER_19200 64
#define SER_38400 31
#define SER_57600 21
#define SER_115200 10
#define CREN 4
#define GIE 7
#define TMR2ON 2
/// #define T0IE 5
//  #define T0IF 2


#pragma CLOCK_FREQ 20000000 // correct clock for timing on cerebellum

// Cerebellum LEDs and buttons //
#define GREEN 5  // this is on port b, pin 5
#define YELLOW 4 // this is on port b, pin 4
#define BTN1 2   // on port b-pin 2 button further from LEDs
#define BTN2 4   // on port b-pin 4 button closer to LEDs

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -