{ "version": "1.0.0", "io": { "KEY1": { "type": "GPIO", "port": 23, "dir": "irq", "pull": "pullup", "intMode":"falling" }, "KEY2": { "type": "GPIO", "port": 20, "dir": "irq", "pull": "pullup", "intMode":"falling" }, "KEY3": { "type": "GPIO", "port": 21, "dir": "irq", "pull": "pullup", "intMode":"falling" }, "KEY4": { "type": "GPIO", "port": 26, "dir": "irq", "pull": "pullup", "intMode":"falling" }, "L1":{ "type":"GPIO", "port":36, "dir":"output", "pull":"pulldown" }, "L2":{ "type":"GPIO", "port":35, "dir":"output", "pull":"pulldown" }, "L3":{ "type":"GPIO", "port":34, "dir":"output", "pull":"pulldown" }, "P04":{ "type":"GPIO", "port":4, "dir":"output", "pull":"pulldown" }, "P05":{ "type":"GPIO", "port":5, "dir":"output", "pull":"pulldown" }, "P06":{ "type":"GPIO", "port":6, "dir":"output", "pull":"pulldown" }, "P07":{ "type":"GPIO", "port":7, "dir":"output", "pull":"pulldown" }, "oled_dc": { "type": "GPIO", "port": 28, "dir": "output", "pull": "pulldown" }, "oled_res": { "type": "GPIO", "port": 30, "dir": "output", "pull": "pulldown" }, "oled_spi": { "type": "SPI", "port": 1, "mode": "mode3", "freq": 26000000 }, "SPI0":{ "type": "SPI", "port": 0, "mode": "mode1", "freq": 26000000 }, "serial": { "type": "UART", "port": 2, "dataWidth": 8, "baudRate": 115200, "stopBits": 1, "flowControl": "disable", "parity": "none" }, "sensor": { "type": "I2C", "port": 1, "addrWidth": 7, "freq": 400000, "mode": "master", "devAddr": 64 }, "ADC0":{ "type": "ADC", "port": 0, "sampling": 12000000 }, "ADC1":{ "type": "ADC", "port": 1, "sampling": 12000000 }, "ADC2":{ "type": "ADC", "port": 2, "sampling": 12000000 }, "pwm1": { "type": "PWM", "port": 1 }, "PWM2":{ "type":"PWM", "port":2 }, "PWM3":{ "type":"PWM", "port":3 }, "timer1": { "type": "TIMER", "port": 1 } }, "pages": [ "data/jsamp/uipages/page/waring" ], "debugLevel": "DEBUG", "repl":"enable" }