Skip to main content
2 of 2
added 1 character in body; edited tags; edited title
ocrdu
  • 1.8k
  • 3
  • 12
  • 24

Host a webserver on an ESP32D that has a hyperlink that triggers an Arduino song through a buzzer

I would like to use my ESP32D to create a wireless access point and host an HTML page that has a hyperlink and a few other things on it that triggers an Arduino song (rickroll), and plays it through a buzzer.

I just need to know how to host the webserver and make the trigger hyperlink work, right now the HTML is set to send "trigger" whenever the link is pressed.

HTML file: https://pastebin.com/sGmPPVYG

Arduino-song: https://github.com/robsoncouto/arduino-songs/blob/master/nevergonnagiveyouup/nevergonnagiveyouup.ino