Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

General • Re: I2C operation does not survive jump to user program

$
0
0
Just to resolve an ambiguity in the code samples for everyone looking at the code, what are the definitions for the pin constants:

Code:

    sleep_ms(20);    user_i2c_scan(i2c0, PIN_I2C0_SDA, PIN_I2C0_SCL, "I2C0");    sleep_ms(20);    user_i2c_scan(i2c1, PIN_I2C1_SDA, PIN_I2C1_SCL, "I2C1");

Statistics: Posted by katak255 — Mon Oct 27, 2025 12:58 am



Viewing all articles
Browse latest Browse all 8037

Trending Articles