farmerkeith / I2CScanner

Simple software to scan an I2C bus and report devices found
3 stars 2 forks source link

BUILTIN_LED needs to be LED_BUILTIN #4

Open DocDough opened 3 years ago

DocDough commented 3 years ago

I am a novice C++ coder slowly working through getting the farmerkeith_BMP280 library to function with a BME280 and an UNO. But before I post another issue over there dealing with the UNO implementation, I wanted to see if hard coding the Wire functions I need directly into my sketch would get the functionality I want. So in making sure that I could call the Wire functions and get responses that I could interpret from a BME280, I downloaded the I2CScanner. But I could not compile it for an Arduino UNO until I changed BUILTIN_LED to LED_BUILTIN on lines 19, 26, and 127. With that change it works fine (except for not recognizing some more current I2C device addresses).