esp-apple-homekit-adk icon indicating copy to clipboard operation
esp-apple-homekit-adk copied to clipboard

Controlling Multiple pins from single accessory

Open manvish opened this issue 4 years ago • 2 comments

I want to control multiple pins (3 GPIO and 3 PWM) from iphone Home App. I have successfully controlled one pin from <HandleLightBulbOnWrite> method but i dont know how to control multiple pins. pls help me with this issue,

manvish avatar Jan 23 '21 16:01 manvish

Hello, yes I am trying to do the same. I need to make the prototype and then enroll to MFi program for my RGB lamp and tried with the fan example esp-homekit-sdk but with a multi-meter I noticed that there wasn't any voltage change on any of the GPIOs. Can I ask how did you make to control at least one pin? thank you. My aim would be to have the SDK for RGB lamp and know which are the 3 PWM pins.

pedros89 avatar Jul 05 '21 19:07 pedros89

You can modify this func : HandleLightBulbOnWrite()

ShareCat avatar Oct 14 '22 02:10 ShareCat