Deep Dive w/Scott (@tannewt): Debugging ESP32S2 busio #adafruit

preview_player
Показать описание
The plan is to recap ESP32-S2 work Scott did this week (bug fixes!) and then continue work on busio, which is I2C, SPI, and UART.

-----------------------------------------

-----------------------------------------
Рекомендации по теме
Комментарии
Автор

MarkOllson's discord post ( and I think the rest of discord ) doesn't seem to be shown.
Here is what Mark posted ( for the win! )
MarkOlsson05/29/2020
if (len > 1) {
i2c_master_read(cmd, data, len - 1, ACK_VAL);
}
i2c_master_read_byte(cmd, data + len - 1, NACK_VAL);

DavidDyck
Автор

Link to esp-idf examples that Mark mentioned
static int do_i2cget_cmd(int argc, char **argv)
lines 197-200

DavidDyck
Автор

I just wanted to say thanks for your continued streaming - I haven't needed to dig into I2C before
- so you've helped me dig further :-)
See great I2C read diagram at

DavidDyck