DannyDeGaspari / Samsung-HVAC-buscontrol

Protocol description of the serial communication channel of Samsung airconditioners.
GNU General Public License v3.0
75 stars 17 forks source link

Which GPIO pins to use? #11

Closed guybridge closed 2 years ago

guybridge commented 2 years ago

This is more a hardware question.

Most tutorials regarding the MAX485 get you to init the GPIO pins on DE/RE as HIGH

however in the code you don't init them ?

Thx

DannyDeGaspari commented 2 years ago

It actually doesn't matter if the signalling is on RS485 levels or anything else, for the Pi's OS it is just a UART which is properly initialized at startup. I used the dedicated UART pins on the GPIO header.

guybridge commented 2 years ago

OK thank you.