adafruit / Adafruit_TSL2591_Library

This is an Arduino library for the TSL2591 digital luminosity (light) sensors.
58 stars 48 forks source link

Added F() macro to all Serial.print()s #13

Closed baldengineer closed 7 years ago

baldengineer commented 7 years ago

Reduced RAM footprint from 784 to 440 bytes.

The only change is to the Serial.print()s. Should have no impact on existing code. I'm suggesting the change because a user on freenode/#arduino was complaining the library was "too bloated to use." When in fact, the library is quite compact, it's the example that consumes so much RAM.