{"id":37,"date":"2023-12-19T09:20:26","date_gmt":"2023-12-19T15:20:26","guid":{"rendered":"https:\/\/anthony.sleck.us\/?p=37"},"modified":"2023-12-30T16:01:24","modified_gmt":"2023-12-30T22:01:24","slug":"esp32-sound-player","status":"publish","type":"post","link":"https:\/\/anthony.sleck.us\/?p=37","title":{"rendered":"ESP32 Sound Player"},"content":{"rendered":"<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; auto-links: false; title: ; quick-code: false; notranslate\" title=\"\">\n\/*\n   ESP32 Sound Player\n   Description:\n   -Coming Soon!\n   Notes:\n   -Coming Soon!\n   Contact Info:\n   email - anthony.sleck@gmail.com\n   web - anthony.sleck.us\n   github - https:\/\/github.com\/anthonysleck\n   Changelog:\n   0.1 - new code\n   Contact Info:\n   email - anthony.sleck@gmail.com\n   web - anthony.sleck.us\n   github - https:\/\/github.com\/anthonysleck\n*\/\n\n#ifndef config_h\n#define config_h\n\n\/\/ system versioning\n#define VER &quot;0.1&quot;\n#define VER_BUILD &quot;12192023&quot;\n#define email &quot;anthony.sleck@gmail.com&quot;\n#define firmwareLink &quot;https:\/\/github.com\/anthonysleck\/&quot;\n\n\/\/ common includes\n#include &lt;Arduino.h&gt;\n#include &lt;Audio.h&gt;\n#include &lt;ESPAsyncWebServer.h&gt;\n#include &lt;WiFi.h&gt;\n\n\/\/ debugging\n#define DEBUG 1     \/\/ set to &quot;0&quot; to disable serial debugging\n\n#if DEBUG == 1\n#define debug(x) Serial.print(x)\n#define debugln(x) Serial.println(x)\n#else\n#define debug(x)\n#define debugln(x)\n#endif\n\n\/\/ server configs\nAsyncWebServer server(80);\n\n\/\/ WiFi settings\nconst char* host = &quot;ESPTempMonitor&quot;;  \/\/ change to the desired DNS name\nconst char *ssid = &quot;********&quot;;        \/\/ enter your SSID here\nconst char *password = &quot;********&quot;;    \/\/ enter password here\n\n#endif\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-esp32-projects"],"_links":{"self":[{"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":3,"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":55,"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions\/55"}],"wp:attachment":[{"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anthony.sleck.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}