You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started successfuly ESP32 A1S example ( https://github.com/schreibfaul1/ESP32-audioI2S/tree/master/examples/ESP32_A1S ) on my A1S Audio kit (v2.2, A436), but I have problem with 20x4 alphanumeric LCD via I2C connection on pins IO21, IO22 (pcb top right connector ). The display itself working ok on Audiokit, but with together example, Serial.print() returns DAC connection failed.
My version Audiokit properly works with 32 and 33 I2C pins like in oryginal .ino example (lines 36-37 in .ino file).
I saw that object creating order in Setup() matters.
If I create like this:
LCD.begin();
while (not dac.begin(IIC_DATA, IIC_CLK))
{
Serial.printf("Failed!\n");
delay(1000);
}
display working ok, but DAC connection failed.
If I create like this:
while (not dac.begin(IIC_DATA, IIC_CLK))
{
Serial.printf("Failed!\n");
delay(1000);
}
LCD.begin();
display is only backlighted, DAC connection is OK
Is there any conflict with 21,22 I2C and internal 32,33 I2C?
Regards
Devwmbr
The text was updated successfully, but these errors were encountered:
Hello,
Yesterday evening I tried another library: LiquidCrystal_PCF8574 where author in comment section gave example similar like yours
and now working great.
Currently my code looks like below:
Hello,
I started successfuly ESP32 A1S example ( https://github.com/schreibfaul1/ESP32-audioI2S/tree/master/examples/ESP32_A1S ) on my A1S Audio kit (v2.2, A436), but I have problem with 20x4 alphanumeric LCD via I2C connection on pins IO21, IO22 (pcb top right connector ). The display itself working ok on Audiokit, but with together example, Serial.print() returns DAC connection failed.
My version Audiokit properly works with 32 and 33 I2C pins like in oryginal .ino example (lines 36-37 in .ino file).
I saw that object creating order in Setup() matters.
If I create like this:
display working ok, but DAC connection failed.
If I create like this:
display is only backlighted, DAC connection is OK
Is there any conflict with 21,22 I2C and internal 32,33 I2C?
Regards
Devwmbr
The text was updated successfully, but these errors were encountered: