code.py
 1  # SPDX-FileCopyrightText: 2018 Kattni Rembor for Adafruit Industries
 2  #
 3  # SPDX-License-Identifier: MIT
 4  
 5  import time
 6  from adafruit_circuitplayground.express import cpx
 7  
 8  while True:
 9      print("Temperature C:", cpx.temperature)
10      print("Temperature F:", cpx.temperature * 1.8 + 32)
11      print((cpx.temperature, cpx.temperature * 1.8 + 32))
12      time.sleep(1)