📄 lm35.c
字号:
/*= lm35.c =========================================================================================
*
* Copyright (C) 2004 Nordic Semiconductor
*
* This file is distributed in the hope that it will be useful, but WITHOUT WARRANTY OF ANY KIND.
*
* Author(s): Ole Saether
*
* COMPILER:
*
* This program has been tested with Keil C51 V7.08 and 7.09
*
* $Revision: 3 $
*
*==================================================================================================
*/
#include <Nordic\reg9e5.h>
#include "util.h"
#include "lm35.h"
//void InitADC(void)
//{
// Configure and turn on ADC
// RACSN = 0;
// SpiReadWrite(WAC); // Write to ADC config
// SpiReadWrite(0x35); // Select AIN3, PWR_UP = 1, VFSEL=0;
// SpiReadWrite(0x0b); // Set RES_CTRL = 3, Right justified
// RACSN = 1;
//}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -