📄 cerebv41.h
字号:
// Declarations file for Cerebellum Programming Software
/* Version Information:
This is version 4 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 4 // this is on port b, pin 4
#define YELLOW 5 // this is on port b, pin 5
#define BTN1 1 // on port b-first pin (B0 I think); button further from LEDs
#define BTN2 4 // on port b-fourth pin (B3 I think); button closer to LEDs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -