📄 writesda.c
字号:
// WriteSDA.c
#include "at17c.h"
void WriteSDA(unsigned char state) {
if (state)
DDRB &= 0xfe; // input ... pullup will pull high or slave will drive low
else
DDRB |= 0x01; // output ... port latch will drive low
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -