Skip to content

do not compile #172

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

Closed
AugustinMauroy opened this issue May 14, 2022 · 2 comments
Closed

do not compile #172

AugustinMauroy opened this issue May 14, 2022 · 2 comments

Comments

@AugustinMauroy
Copy link

Arduino-HomeKit-ESP8266-master/examples/legacy/simple_led/simple_led_accessory.c: In function 'led_update':
simple_led_accessory.c:67:13: error: 'PWMRANGE' undeclared (first use in this function)
67 | int pwm = PWMRANGE - (int) (led_bri * 1.0 * PWMRANGE / 100.0 + 0.5f);

@kuznetsov-m
Copy link

This issue has nothing to do with this project. However, I decided to try redefining the PWMRANGE variable.
I just added a declaration int PWMRANGE = 1023; to the method led_update()

#162

@AugustinMauroy
Copy link
Author

thanks

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

2 participants