-
|
Hi, I just started using BSB-LAN and love how it helps me to make my heating system smart. It's a great project! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
|
Hi Tim, thanks for the feedback, that of course shouldn't be the case. Can you try two things please:
|
Beta Was this translation helpful? Give feedback.
-
|
Ok, thanks. In older versions, there were two syntaxes possible, one as |
Beta Was this translation helpful? Give feedback.
-
|
Yes, you have to use version 2.x from the ESP32 framework, not 3.x. Then it should compile... |
Beta Was this translation helpful? Give feedback.
-
|
Ok, thanks! But I'm confused now because you say that querying works with version 3.x, but then you say it doesn't with /G32 - which way does it work then? |
Beta Was this translation helpful? Give feedback.
-
|
Ok, found the problem. I removed old code at one point, thinking it would not be necessary. But, apparently, it is ;). |
Beta Was this translation helpful? Give feedback.
Ok, found the problem. I removed old code at one point, thinking it would not be necessary. But, apparently, it is ;).
Setting a GPIO to "input" is only necessary if there is a sensor connected to it. Otherwise, it's possible to read the value of an "output" pin without setting the pin to "input" first.
/G<x>,Isets a pin to "input" to define the pins state, but this has the abovementioned effect on "output" pins. On the other hand, setting a value to a GPIO automatically drives the pin as "output". Bug is fixed in the most recent version.