MarkV 0 Posted April 8, 2015 Share Posted April 8, 2015 When using the on board (cc3200) temperature sensor with the tmp006 energia example, Is there a way to avoid conflicts with other functions using the on board LEDs, specifically the yellow and green LED remain on when using the tmp006 example and I was using them for other functions. Can I disable or move the use of the Green and yellow LED? here is the basic code I am using Adafruit_TMP006 tmp006(0x41); // start with a diferent i2c address! // Grab temperature measurements and print them. float objt = tmp006.readObjTempC(); float fobjt = objt * 1.8 + 32.0; Serial.print("Object Temperature: "); Serial.print(objt); Serial.print("*C "); Serial.print(fobjt); Serial.println("*f"); float diet = tmp006.readDieTempC(); float fdiet = diet * 1.8 + 32.0; Serial.print("Die Temperature: "); Serial.print(diet); Serial.print("*C ");Serial.print(fdiet); Serial.println("*f"); delay(4000); // 4 seconds per reading for 16 samples per reading Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.