Query sent to CoPilot (Microsoft AI)
Write an arduino sketch to read the pressure, temperature, and humidity from a BME280 I2c sensor, and a freescale pressure sensor, time average these data for a user chosen interval, and to write these measurements out to the serial port as a time series.
Sketch it generated, after a little modification.