adafruit / Adafruit_CircuitPython_BusDevice

Two helper classes that handle transaction related state for I2C and SPI including locks.
MIT License
108 stars 76 forks source link

Remove debug param. It increases frozen and RAM by 800ish bytes. #29

Closed tannewt closed 5 years ago

ladyada commented 5 years ago

oi - this code was handy - i guess maybe we can make different version of the library called busdevice_debug?

barbudor commented 5 years ago

Is there anything in Python that could offer conditional compilation like #if if C? Something that mpy-cross could easily remove?

ladyada commented 5 years ago

not really - eveything is interpretted :)