1{ 2 "name": "haasedu", 3 "version": "1.0.0", 4 "io": { 5 "mpu6050": { 6 "type": "I2C", 7 "port": 1, 8 "addrWidth": 7, 9 "freq": 100000, 10 "mode": "master", 11 "devAddr": 105 12 }, 13 "ap3216c": { 14 "type": "I2C", 15 "port": 1, 16 "addrWidth": 7, 17 "freq": 100000, 18 "mode": "master", 19 "devAddr": 30 20 }, 21 "si7006": { 22 "type": "I2C", 23 "port": 1, 24 "addrWidth": 7, 25 "freq": 400000, 26 "mode": "master", 27 "devAddr": 64 28 }, 29 "spl06": { 30 "type": "I2C", 31 "port": 1, 32 "addrWidth": 7, 33 "freq": 400000, 34 "mode": "master", 35 "devAddr": 119 36 }, 37 "qmc5883": { 38 "type": "I2C", 39 "port": 1, 40 "addrWidth": 7, 41 "freq": 400000, 42 "mode": "master", 43 "devAddr": 13 44 }, 45 "ADC2": { 46 "type": "ADC", 47 "port": 2, 48 "sampling": 12000000 49 }, 50 "GPIO2": { 51 "type": "GPIO", 52 "port": 2, 53 "dir": "irq", 54 "pull": "pullup", 55 "intMode": "rising" 56 }, 57 "GPIO3": { 58 "type": "GPIO", 59 "port": 3, 60 "dir": "output", 61 "pull": "pullup" 62 }, 63 "GPIO4": { 64 "type": "GPIO", 65 "port": 4, 66 "dir": "output", 67 "pull": "pullup" 68 }, 69 "GPIO5": { 70 "type": "GPIO", 71 "port": 5, 72 "dir": "output", 73 "pull": "pullup" 74 }, 75 "GPIO6": { 76 "type": "GPIO", 77 "port": 6, 78 "dir": "output", 79 "pull": "pullup" 80 }, 81 "GPIO7": { 82 "type": "GPIO", 83 "port": 7, 84 "dir": "output", 85 "pull": "pullup" 86 }, 87 "GPIO19": { 88 "type": "GPIO", 89 "port": 19, 90 "dir": "output", 91 "pull": "pullup" 92 }, 93 "GPIO22": { 94 "type": "GPIO", 95 "port": 22, 96 "dir": "output", 97 "pull": "pullup" 98 }, 99 "KEY_1": { 100 "type": "GPIO", 101 "port": 23, 102 "dir": "irq", 103 "pull": "pullup", 104 "intMode": "rising" 105 }, 106 "KEY_2": { 107 "type": "GPIO", 108 "port": 20, 109 "dir": "irq", 110 "pull": "pullup", 111 "intMode": "rising" 112 }, 113 "KEY_3": { 114 "type": "GPIO", 115 "port": 21, 116 "dir": "irq", 117 "pull": "pullup", 118 "intMode": "rising" 119 }, 120 "KEY_4": { 121 "type": "GPIO", 122 "port": 26, 123 "dir": "irq", 124 "pull": "pullup", 125 "intMode": "rising" 126 }, 127 "I2C1": { 128 "type": "I2C", 129 "port": 1, 130 "addrWidth": 7, 131 "freq": 100000, 132 "mode": "master", 133 "devAddr": 60 134 }, 135 "led0": { 136 "type": "GPIO", 137 "port": 36, 138 "dir": "output", 139 "pull": "pullup" 140 }, 141 "led_r": { 142 "type": "GPIO", 143 "port": 36, 144 "dir": "output", 145 "pull": "pullup" 146 }, 147 "led_g": { 148 "type": "GPIO", 149 "port": 35, 150 "dir": "output", 151 "pull": "pullup" 152 }, 153 "led_b": { 154 "type": "GPIO", 155 "port": 34, 156 "dir": "output", 157 "pull": "pullup" 158 }, 159 "SPI0": { 160 "type": "SPI", 161 "port": 0, 162 "mode": "master", 163 "freq": 2000000, 164 "polPha": 3 165 }, 166 "oled_spi": { 167 "type": "SPI", 168 "port": 1, 169 "mode": "master", 170 "freq": 26000000, 171 "polPha": 3 172 }, 173 "oled_dc": { 174 "type": "GPIO", 175 "port": 28, 176 "dir": "output", 177 "pull": "pullup" 178 }, 179 "oled_res": { 180 "type": "GPIO", 181 "port": 30, 182 "dir": "output", 183 "pull": "pullup" 184 }, 185 "serial2": { 186 "type": "UART", 187 "port": 2, 188 "dataWidth": 8, 189 "baudRate": 115200, 190 "stopBits": 1, 191 "flowControl": "disable", 192 "parity": "none" 193 }, 194 "pwm0": { 195 "type": "PWM", 196 "port": 0 197 } 198 }, 199 "debugLevel": "ERROR", 200 "repl": "disable" 201} 202 203