cerebv2.h
来自「a zipped example of communication betwee」· C头文件 代码 · 共 26 行
H
26 行
// Declarations file for Cerebellum Programming Software
/* Version Information:
This is version 2 for the second version of Cerebellum.
the location of Button 1 changed, as did the motor direction bit.
*/
#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 1 // on port b-first pin (B0); button further from LEDs
#define BTN2 4 // on port b-third pin (B3); button closer to LEDs
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?