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

📄 lcm.h

📁 PWM输出控制三路步进电机
💻 H
字号:
#ifndef __LCM_H
#define __LCM_H

#define  LCM_RST_S SET_BIT(PORTC,7)
#define  LCM_RST_C CLR_BIT(PORTC,7)

#define  LCM_CS_S SET_BIT(PORTC,6)
#define  LCM_CS_C CLR_BIT(PORTC,6)

#define  LCM_SCL_S SET_BIT(PORTC,0)
#define  LCM_SCL_C CLR_BIT(PORTC,0)

#define  LCM_SI_S  SET_BIT(PORTC,1)
#define  LCM_SI_C  CLR_BIT(PORTC,1)

#define  LCM_RS_S  SET_BIT(PORTA,7)
#define  LCM_RS_C  CLR_BIT(PORTA,7)

#define  LCM_BK_S  SET_BIT(PORTA,6)
#define  LCM_BK_C  CLR_BIT(PORTA,6)

#endif

⌨️ 快捷键说明

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