Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino cannot execute #1

Closed
CHNleing opened this issue Feb 25, 2020 · 3 comments
Closed

Arduino cannot execute #1

CHNleing opened this issue Feb 25, 2020 · 3 comments

Comments

@CHNleing
Copy link

excuse me. I encountered a problem while testing the example. Aruino IDE tells me:
homekit/types.h: No such file or directory
homekit/homekit.h: No such file or directory
homekit/characteristics.h: No such file or directory

I installed through the management library

@CHNleing
Copy link
Author

Found the problem.
I should put arduino_homekit_server.h on top

#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <arduino_homekit_server.h>
#include <homekit/types.h>
#include <homekit/homekit.h>
#include <homekit/characteristics.h>

@euler271
Copy link
Contributor

Libraries <homekit/types.h>, <homekit/homekit.h> and <homekit/characteristics.h> are not required for the example to work. The should be omitted from simple_led.ino. I recently created a pull request to fix this issue.

@Mixiaoxiao
Copy link
Owner

Thanks. I used a little bit intelligent IDE Sloeber(based on eclipse) to build this library and did not meet this issue.

paullj1 referenced this issue in paullj1/Arduino-HomeKit-ESP8266 Feb 25, 2023
fix: It base64 error if use with WifiManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants