добавлена функция изменения разрешения ацп и соответствующие изменения в функции analogread()
This commit is contained in:
1 parent
b94459ebae
commit
2321bfcad7
3 files changed
+35
-2
No files matched your search
@@ -71,6 +71,7 @@ volatile uint32_t* portInputRegister(GPIO_TypeDef* GPIO_x);
|
||||
#define SERIAL_PORT_QTY 2
|
||||
|
||||
// ADC
|
||||
#define MCU_ADC_RESOLUTION 12 // bits
|
||||
// determines the ADC channel number by the board pin number
|
||||
uint32_t analogInputToChannelNumber(uint32_t PinNumber);
|
||||
|
||||
|
||||
Reference in new issue
Block a user