mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-01 20:38:18 +00:00
ESP IDF Robot
This commit is contained in:
@@ -179,6 +179,7 @@ static void ledc_init (void) {
|
||||
}
|
||||
|
||||
static void dac_init (void) {
|
||||
// GPIO 2
|
||||
dac_output_enable(DAC_CHANNEL_2);
|
||||
dac_output_voltage(DAC_CHANNEL_2, 64);
|
||||
}
|
||||
|
Reference in New Issue
Block a user