UMDBPP / Balloonduino

Library for basic functions of Balloonduino (Arduino Mega with onboard sensors)
MIT License
3 stars 0 forks source link

BLD-002 Allow users to enable or disable usage of BME280 #5

Closed zacharyburnett closed 8 years ago

zacharyburnett commented 8 years ago

I tried to do this with a bool useBME280 variable and surrounding the initialization and sensor read code with #if useBME280 #endif, but I highly doubted that was good code so I request help with templating