mikewen wrote:Hi Sprite_tm ,
Any plan to add I2S input in near future?
I'm also interested in the I2S input for my "wireless system for electric guitar" ( http://www.esp8266.com/viewtopic.php?f=11&t=2985 )
Thanks & regards,
Wojtek
Explore... Chat... Share...
mikewen wrote:Hi Sprite_tm ,
Any plan to add I2S input in near future?
int ICACHE_FLASH_ATTR getIcyMetaint(int sock) {
int n, i;
char buf[1];
char wbuf[64];
int icy_interval;
memset(wbuf, '\0', sizeof(wbuf));
i=0;
while(1) {
n = read(sock, buf, 1);
if (n>0) {
if (buf[0]=='\n') {
// If we detect a newline
if (i>0) {
// printf(wbuf);
// printf("\n");
if(strncmp(wbuf, "icy-metaint:", 12)==0) {
icy_interval=atoi(wbuf+12);
// printf("%i\n",icy_interval);
return icy_interval;
}
} else {
// printf("Empty line\n");
// If this is an empty line : end of headers.
return 0;
}
memset(wbuf, '\0', sizeof(wbuf));
i=0;
} else {
if (buf[0]!='\r') {
// printf("Appending data\n");
wbuf[i]=buf[0];
i++;
}
}
}
}
}
write(sock, "\r\nIcy-MetaData: 1", 17);
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]