olicooper / esphome-nspanel-lovelace-native

Custom ESPHome component for NSPanel utilising the TFT firmware of the project 'joBr99/nspanel-lovelace-ui'
Other
34 stars 6 forks source link

doesn't compile when rtttl is added to config #12

Closed kiddyfurby closed 4 months ago

kiddyfurby commented 4 months ago

undefined reference to esphome::output::FloatOutput::set_zero_means_zero(bool) when using ledc

output:
  ## Buzzer for playing tones
  - platform: ledc
    id: buzzer_out
    pin: 21

## Rtttl function for buzzer
rtttl:
  id: buzzer
  output: buzzer_out
olicooper commented 4 months ago

I had the same issue, if you clean and recompile it should work. I think my error message only mentioned issues with the esphome code and not nspanel_lovelace component.

kiddyfurby commented 4 months ago

That's right. Cleaned and it's all good. Thank you!!