LM358贴片封装选择通用库中的SO-8可以吗?当然可以,LM358贴片封装是SOP8,直插DIP8,放上去之後自己对应脚位连线即可
#include#include //_nop_();延时函数用#define Disdata P0 //段码输出口#define discan P2 //扫描口#define uchar unsigned char#define uint unsigned intsbit DQ=P3^7; //温度输入口sbit DIN=P0^0; //LED小数点控
74HC595时序图如下#include //52芯片管脚定义头文件#include //内部包含延时函数 _nop_();#define uchar unsigned char#define uint unsigned intuchar code DAT[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};sbi