And here is the IDE showing the exact same code except it is now in a C++ method:
The error it shows when I hover over the first marker in the begin method is:
The error is shows when I hover of the second marker in the write method is:Problem description: Invalid arguments ' Candidates are: void gpio_pad_select_gpio(unsigned char) '
The rest of the error markers show very similar error descriptions. I had to castProblem description: Invalid arguments ' Candidates are: int gpio_set_direction (enum {C:\Users\lehrian\Documents\esp-idf\components\hal\include\hal\gpio_types.h:7814}, enum {C:\Users\lehrian\Documents\esp-idf\components\hal\include\hal\gpio_types.h: 20385}) '
Code: Select all
(gpio_num_t)this->DS_GPIO