I have VS 2015 and installed Visual Micro
I left the arduino location as it was
If i try to add a library, e.g. keyboard library.
If i use the compile button all i get are messages like:
"Compiling debug version of 't1' for 'Arduino/Genuino Uno'
Esplora.cpp:54:26: error: 'A11' was not declared in this scope
:const byte ACCEL_Y_PIN = A11
Error compiling libraries
Compiling debug version of 't1' for 'Arduino/Genuino Uno'
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:In function 'void i2c_wait_scl_high()
SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope
:#define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2)
SoftI2CMaster.h:note in expansion of macro 'SCL_IN
:[SCLIN] "I" (SCL_IN), [SCLPIN] "I" (SCL_PIN))
t1.ino:In file included from
SoftI2CMaster.h:210:46: error: 'SCL_PIN' was not declared in this scope
:[SCLIN] "I" (SCL_IN), [SCLPIN] "I" (SCL_PIN))
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:In function 'boolean i2c_init()
SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope
:#define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SCL_DDR
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN)
t1.ino:In file included from
SoftI2CMaster.h:264:47: error: 'SCL_PIN' was not declared in this scope
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN)
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope
:#define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SDA_DDR
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)
t1.ino:In file included from
SoftI2CMaster.h:266:47: error: 'SDA_PIN' was not declared in this scope
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:In function 'bool i2c_start(uint8_t)
SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope
:#define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SDA_DDR
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)
t1.ino:In file included from
SoftI2CMaster.h:284:49: error: 'SDA_PIN' was not declared in this scope
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope
:#define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2)
SoftI2CMaster.h:note in expansion of macro 'SCL_IN
:[SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN))
t1.ino:In file included from
SoftI2CMaster.h:285:43: error: 'SCL_PIN' was not declared in this scope
:[SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN))
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:In function 'bool i2c_rep_start(uint8_t)
SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope
:#define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SCL_DDR
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN),[SCLIN] "I" (SCL_IN)
t1.ino:In file included from
SoftI2CMaster.h:309:49: error: 'SCL_PIN' was not declared in this scope
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN),[SCLIN] "I" (SCL_IN)
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope
:#define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SDA_DDR
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN))
t1.ino:In file included from
SoftI2CMaster.h:310:49: error: 'SDA_PIN' was not declared in this scope
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN))
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:In function 'void i2c_start_wait(uint8_t)
SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope
:#define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SDA_DDR
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)
t1.ino:In file included from
SoftI2CMaster.h:337:48: error: 'SDA_PIN' was not declared in this scope
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN)
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:172:31: error: 'SCL_PORT' was not declared in this scope
:#define SCL_IN (_SFR_IO_ADDR(SCL_PORT) - 2)
SoftI2CMaster.h:note in expansion of macro 'SCL_IN
:[SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN))
t1.ino:In file included from
SoftI2CMaster.h:338:42: error: 'SCL_PIN' was not declared in this scope
:[SCLIN] "I" (SCL_IN),[SCLPIN] "I" (SCL_PIN))
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:In function 'void i2c_stop()
SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope
:#define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SCL_DDR
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN)
t1.ino:In file included from
SoftI2CMaster.h:357:49: error: 'SCL_PIN' was not declared in this scope
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN)
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope
:#define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SDA_DDR
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN))
t1.ino:In file included from
SoftI2CMaster.h:358:49: error: 'SDA_PIN' was not declared in this scope
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN))
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:In function 'bool i2c_write(uint8_t)
SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope
:#define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SCL_DDR
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN)
t1.ino:In file included from
SoftI2CMaster.h:433:46: error: 'SCL_PIN' was not declared in this scope
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN)
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope
:#define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SDA_DDR
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN))
t1.ino:In file included from
SoftI2CMaster.h:434:46: error: 'SDA_PIN' was not declared in this scope
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN))
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:In function 'uint8_t i2c_read(bool)
SoftI2CMaster.h:168:38: error: 'SCL_PORT' was not declared in this scope
:#define SCL_DDR (_SFR_IO_ADDR(SCL_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SCL_DDR
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN)
t1.ino:In file included from
SoftI2CMaster.h:502:46: error: 'SCL_PIN' was not declared in this scope
:[SCLDDR] "I" (SCL_DDR), [SCLPIN] "I" (SCL_PIN), [SCLIN] "I" (SCL_IN)
io.h:In file included from
pgmspace.h:from
arduino.h:from
t1.ino:from
SoftI2CMaster.h:167:38: error: 'SDA_PORT' was not declared in this scope
:#define SDA_DDR (_SFR_IO_ADDR(SDA_PORT) - 1)
SoftI2CMaster.h:note in expansion of macro 'SDA_DDR
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN)
t1.ino:In file included from
SoftI2CMaster.h:503:46: error: 'SDA_PIN' was not declared in this scope
:[SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN)
Error compiling project sources