Activities/Turtle Art/Programmable Brick: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) |
||
| Line 177: | Line 177: | ||
# The light sensor is only available on the XO 1.75 | # The light sensor is only available on the XO 1.75 | ||
device = '/sys/devices/platform/olpc-ols.0/power_state' | device = '/sys/devices/platform/olpc-ols.0/power_state' | ||
if os.path.exists(device): | if os.path.exists(device): | ||
fh = open(device) | fh = open(device) | ||