This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <math.h> | |
#define MAXTIMINGS 85 | |
#define cli noInterrupts | |
#define sei interrupts | |
#define DHT11 11 | |
#define DHT22 22 | |
#define DHT21 21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define MY_ADC_SAMPLING_TIME ADC_SampleTime_239Cycles5 | |
uint8_t My_adcInitFirstTime = true; | |
uint8_t My_adcChannelConfigured = NONE; | |
PinMode My_digitalPinModeSaved = (PinMode)NONE; | |
void My_ADCInit() | |
{ | |
ADC_InitTypeDef ADC_InitStructure; |
NewerOlder