2
|
|
|
|
请问程序里uint8和uint32是怎么来的呢。。。是不是少了宏定义噢
|
|
|
|
|
本帖最后由 floati 于 2023-4-13 20:02 编辑
感谢分享What about the main function?
|
|
|
|
|
asgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfsasgdhgdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgsdfgsdhsdfs
|
|
|
|
|
好开心好开心好开心好开心好开心好开心好开心好开心好开心好开心好开心
|
|
|
|
|
哈哈哈哈哈哈哈哈 看卡卡www.lchy118.com
|
|
|
|
|
*************************************************************/
//#include
#include
#include"Init_clk.h"
#include"ADS1115.h"
#include"I2C.h"
unsigned int value;
void main( )
{
// Stop watchdog timer to prevent time out reset
WDTCTL = WDTPW + WDTHOLD;
Init_clk();
Confige_1115(0); //通道选择
Point_reg();
value=Read_1115(); // 返回测量值 VIN = 4.096/65535*2value
}
|
|
|
|
|
楼主能否说明当将芯片的RDY引脚引出,程序该怎么写
|
|
|
|
|
SWITCHMODE Power Supply Examples
|
|
|
|
|