DirkRussellG
DirkRussellG
Oh I see, this is for "issues" (like it plainly states), not for novices getting help understanding the coding, my ignorance, my apologies
My objective is to use one esp8266 for 2 individually controlled relays. I added a second id (.id=2) in the my_accessory.c file and it shows up ok in the Home...
Thank you. I think I can follow that. I wrongly thought the additional ID was instance of the main accessory, like an array or something. Can I post the finished...
Thanks sircuri, works. Thank you.
`/* * Switches.ino * modified from switch.ino to handle two switches * * * Created on: 2020-05-15 * Author: Mixiaoxiao (Wang Bin) * * HAP section 8.38 Switch * An...
`/* my_accessory.c Define the accessory in C language using the Macro in characteristics.h Created on: 2020-05-15 Author: Mixiaoxiao (Wang Bin) */ #include #include void my_accessory_identify(homekit_value_t _value) { printf("accessory identify\n"); }...
@yepkevin612 Thank you so much. Are those changes mainly for proper naming convention? Doesn't change functionality or does it? Here is my code for the connected physical push button, it...
I guess I probably don't.
I was looking over the changes you made in the code. Is Serial.begin(9600); preferred over Serial.begin(115200); like in the examples?
in the original code I posted it had 115200, in the code you tweaked and reposted it has 9600