Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI Compiled into I2C Version #4

Open
bobybobybob opened this issue Oct 9, 2017 · 0 comments
Open

SPI Compiled into I2C Version #4

bobybobybob opened this issue Oct 9, 2017 · 0 comments

Comments

@bobybobybob
Copy link

I use the parameter for i2c. After compiling with Arduino IDE i can see that SPI is in the compiler logs too.

I have manual remove all SPI from BlueDot_BME280.h and BlueDot_BME280.cpp

The Sensor work fine

Der Sketch verwendet 269983 Bytes (25%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.
Globale Variablen verwenden 34528 Bytes (42%) des dynamischen Speichers, 47392 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.

spi removed from libary code give some free bytes.

Der Sketch verwendet 268683 Bytes (25%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.
Globale Variablen verwenden 34500 Bytes (42%) des dynamischen Speichers, 47420 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.

Maybe you can modify the libary that SPI is not included when it is not need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant