I am trying to create a custom DIA device for controlling a hbridge. I can figure out the the SCI/RCI commands, but I thought it would be cleaner to create a custom device. The RCI is:
5
4
5
5
So I need to set all the pins to turn it on and flip dio0&1 to reverse polarity.
Following the sample for the smart plug I think I understand setting one pin using “def prop_set_power_control(self, bool_sample):”
Thank you in advance for any advice.