code.py
 1  # SPDX-FileCopyrightText: 2017 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("Light:", cpx.light)
10      time.sleep(1)