Resources — I2C
Connecting I2C Devices to the BBC micro:bit
APDS-9960 BBC micro:bit DFRobot I2C micro:bit microbit MicroPython Python Sensors
The BBC micro:bit supports the I²C bus protocol, for communicating with other devices, like sensors. In this post, I've used MicroPython to demonstrate, but the principles can easily be translated to lower and higher level languages.