Closed TaylorIsAGoodboy closed 2 years ago
I use i2cdected -y 1 in RPi, it shows: but when i used script written with the interface of i2c-bus.js, it return: No 0x70 device.
i2cdected -y 1
my script is
const i2c = require('i2c-bus'); let _wire = i2c.openSync(1); _wire.scan(0x08, 0x7f, function(err, address){ if(err == null){ console.log(address); } });
I use
i2cdected -y 1
in RPi, it shows: but when i used script written with the interface of i2c-bus.js, it return: No 0x70 device.my script is