From c64dfdc9c3f9464c732abea2cf36c566f45b51c6 Mon Sep 17 00:00:00 2001 From: brentru Date: Mon, 14 Apr 2025 14:07:41 -0400 Subject: [PATCH] update config.json from autoconfig'd board --- WipperSnapper_Offline/config.json | 51 +++++++++++++++++++------------ 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/WipperSnapper_Offline/config.json b/WipperSnapper_Offline/config.json index 3a01049f5..fa2e79414 100755 --- a/WipperSnapper_Offline/config.json +++ b/WipperSnapper_Offline/config.json @@ -1,25 +1,36 @@ { "exportedFromDevice": { - "referenceVoltage": 3.3, - "totalGPIOPins": 18, - "totalAnalogPins": 4, - "sd_cs_pin": 23, - "statusLEDBrightness": 0.5 + "sd_cs_pin": 23, + "referenceVoltage": 0, + "totalGPIOPins": 0, + "totalAnalogPins": 0, + "statusLEDBrightness": 0.3 }, "components": [ - { - "name": "BME280 Sensor", - "componentAPI": "i2c", - "i2cDeviceName": "bme280", - "period": 15, - "i2cDeviceAddress": "0x77", - "i2cDeviceSensorTypes": [ - {"type": "relative-humidity"}, - {"type": "ambient-temp"}, - {"type": "ambient-temp-fahrenheit"}, - {"type": "pressure"}, - {"type": "altitude"} - ] - } + { + "name": "bme280", + "componentAPI": "i2c", + "i2cDeviceName": "bme280", + "period": 30, + "autoConfig": "true", + "i2cDeviceAddress": "0x77", + "i2cDeviceSensorTypes": [ + { + "type": "ambient-temp" + }, + { + "type": "ambient-temp-fahrenheit" + }, + { + "type": "relative-humidity" + }, + { + "type": "pressure" + }, + { + "type": "altitude" + } + ] + } ] -} + } \ No newline at end of file