Product Design: Electronic Things
Arduino IDE Setup for micro:bit
You can program the micro:bit using any of the following
micro:bit Light Sensor
This article covers using the onboard light sensor of the micro:bit, as well as Light Dependant Resistors.
Using the Filesystem from MakeCode
Currently the filesystem extension for MakeCode is in beta. There is a working version that requires you to add a community made extension on Github.