I want to change pin number of Rx and Tx pin in modbus master example. I changed it in sdkconfig.h file and then after save it. but when i build my project, all changes are reversed or pin number became as it is before i make changes.
Ex. I changed my Rx pin GPIO 22 to GPIO 17 but when i build my project my Rxpin number changed automatically to 22.
I want to change pin number of modbus master example but i can't
-
- Posts: 3
- Joined: Mon Apr 17, 2023 7:21 am
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: I want to change pin number of modbus master example but i can't
Run 'idf,py menuconfig' (or your IDEs equivalent) and change it in the menu system instead.
-
- Posts: 3
- Joined: Mon Apr 17, 2023 7:21 am
Re: I want to change pin number of modbus master example but i can't
please explain me in brief, i am beginner in idf. i cant understand where to change in menuconfig, and how can i change menuconfig.ESP_Sprite wrote: ↑Tue Apr 18, 2023 1:13 amRun 'idf,py menuconfig' (or your IDEs equivalent) and change it in the menu system instead.
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: I want to change pin number of modbus master example but i can't
It depends. What ESP-IDF are you using? Are you using a particular IDE?
-
- Posts: 3
- Joined: Mon Apr 17, 2023 7:21 am
Re: I want to change pin number of modbus master example but i can't
Thank you for your help i got my answer in your previous post. I tried another time and find that sdkconfig and your solution work perfectly. Thank you so much.ESP_Sprite wrote: ↑Fri Apr 21, 2023 2:08 amIt depends. What ESP-IDF are you using? Are you using a particular IDE?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 117 guests