Changed Arduino I2C address to 0x4B

pull/2/head
alanbjohnston 7 years ago committed by GitHub
parent b75632d718
commit 3d4ad40a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -129,7 +129,7 @@ int main(void) {
{
fprintf(stderr,"ERROR: /dev/i2c-0 bus not present\n");
} else {
arduinoI2C = wiringPiI2CSetupInterface("/dev/i2c-0", 0x4c);
arduinoI2C = wiringPiI2CSetupInterface("/dev/i2c-0", 0x4B);
fprintf(stderr,"arduinoI2C: %d\n", arduinoI2C);
if (arduinoI2C > 0) {
// for (blink = 1; blink < 20 ;blink++) {

Loading…
Cancel
Save

Powered by TurnKey Linux.