ESP IDF Robot

This commit is contained in:
2024-12-22 16:56:15 -05:00
parent d006902ae5
commit 5d825d91d0
3 changed files with 3 additions and 3 deletions

View File

@@ -180,8 +180,8 @@ static void ledc_init (void) {
static void dac_init (void) {
// GPIO ??
dac_output_enable(DAC_CHANNEL_1);
dac_output_voltage(DAC_CHANNEL_1, 64);
dac_output_enable(DAC_CHANNEL_0);
dac_output_voltage(DAC_CHANNEL_0, 64);
}
void app_main(void)