程序#include "STC15.h"#include "LM75.h"#include <intrins.h>sbit SCL = P3^3;sbit SDA = P5^5;void Delay5us() //@11.0592MHz{ unsigned char i; _nop_(); i = 11; while (--i);}void IIC_Start(){ SDA_H; Delay5us(); SCL_H; Delay5us(); SDA_L; - 阅读剩余部分 -

程序:#include "STC15.h"#include "TM1650.h"#include <intrins.h>sbit CLK = P3^3;sbit DIO = P3^2;unsigned char code CODE[10] = {0xEB, 0x88, 0xB3, 0xBA, 0xD8, 0x7E, 0x7F, 0xA8, 0xFB, 0xFA};void TM1650_Init(void){ P3M0 = 0x0C; //P3.2 P3.3 open drain P3M1 = 0x0C; - 阅读剩余部分 -

不废话,直接上程序。#include "STC8.h"#include "DS18B20.h"#include <intrins.h>sbit DQ = P5^4;void delay_18B20(unsigned int i){ _nop_(); while(--i);}void DS18B20_Init(void){ unsigned char x=0; DQ = 1; //DQ Reset delay_18B20(80); DQ = 0; delay_18B20(800)- 阅读剩余部分 -

5+: ¥0.427438 / 个50+: ¥0.322179 / 个150+: ¥0.302845 / 个500+: ¥0.283512 / 个2500+: ¥0.27492 / 个 (折合1圆盘824.76元)5000+: ¥0.270674 / 个 (折合1圆盘812.02元)推荐理由: 1、单路,想要多少路就用多少个IC。最经济!2、 体积小3、电压宽,Va=Vb= 1.65~5.5V4、超高性价比,含税17%才0.3元左右,而跟它一样功能的TI 要1.X5、Pin2Pin兼容Ti的SN74LVC1T45