Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:xu3_weather_board [2015/07/26 12:16] charles.park |
en:xu3_weather_board [2017/01/06 15:05] (current) john1117 |
||
---|---|---|---|
Line 42: | Line 42: | ||
// Net name I2C_1 Physical address : 0x12C70000 | // Net name I2C_1 Physical address : 0x12C70000 | ||
- | int fd = open("/dev/i2c-3", O_RDWR); | + | int fd = open("/dev/i2c-4", O_RDWR); |
if (fd < 0) { | if (fd < 0) { | ||
printf("ERROR: open failed\n"); | printf("ERROR: open failed\n"); |