basic_scanner: In function 'void setup()':
basic_scanner:28: error: 'Wire' was not declared in this scope
Wire.begin(I2C_MASTER, 0x00, I2C_PINS_18_19, I2C_PULLUP_EXT, 400000);
^
basic_scanner:28: error: 'I2C_MASTER' was not declared in this scope
Wire.begin(I2C_MASTER, 0x00, I2C_PINS_18_19, I2C_PULLUP_EXT, 400000);
^
basic_scanner:28: error: 'I2C_PINS_18_19' was not declared in this scope
Wire.begin(I2C_MASTER, 0x00, I2C_PINS_18_19, I2C_PULLUP_EXT, 400000);
^
basic_scanner:28: error: 'I2C_PULLUP_EXT' was not declared in this scope
Wire.begin(I2C_MASTER, 0x00, I2C_PINS_18_19, I2C_PULLUP_EXT, 400000);
^
basic_scanner: In function 'void loop()':
basic_scanner:48: error: 'Wire' was not declared in this scope
Wire.beginTransmission(target); // slave addr
^
basic_scanner: In function 'void print_scan_status(uint8_t, uint8_t)':
basic_scanner:65: error: 'Wire' was not declared in this scope
switch(Wire.status())
^
basic_scanner:67: error: 'I2C_WAITING' was not declared in this scope
case I2C_WAITING:
^
basic_scanner:71: error: 'I2C_ADDR_NAK' was not declared in this scope
case I2C_ADDR_NAK:
^
'Wire' was not declared in this scope