{"action":"closed","issue":{"url":"https://api.github.com/repos/1zlab/1ZLAB_PyEspCar/issues/14","repository_url":"https://api.github.com/repos/1zlab/1ZLAB_PyEspCar","labels_url":"https://api.github.com/repos/1zlab/1ZLAB_PyEspCar/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/1zlab/1ZLAB_PyEspCar/issues/14/comments","events_url":"https://api.github.com/repos/1zlab/1ZLAB_PyEspCar/issues/14/events","html_url":"https://github.com/1zlab/1ZLAB_PyEspCar/issues/14","id":353231852,"node_id":"MDU6SXNzdWUzNTMyMzE4NTI=","number":14,"title":"修改管脚并重新测试","user":{"login":"mushroom-x","id":13478703,"node_id":"MDQ6VXNlcjEzNDc4NzAz","avatar_url":"https://avatars2.githubusercontent.com/u/13478703?v=4","gravatar_id":"","url":"https://api.github.com/users/mushroom-x","html_url":"https://github.com/mushroom-x","followers_url":"https://api.github.com/users/mushroom-x/followers","following_url":"https://api.github.com/users/mushroom-x/following{/other_user}","gists_url":"https://api.github.com/users/mushroom-x/gists{/gist_id}","starred_url":"https://api.github.com/users/mushroom-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mushroom-x/subscriptions","organizations_url":"https://api.github.com/users/mushroom-x/orgs","repos_url":"https://api.github.com/users/mushroom-x/repos","events_url":"https://api.github.com/users/mushroom-x/events{/privacy}","received_events_url":"https://api.github.com/users/mushroom-x/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-23T05:39:36Z","updated_at":"2018-08-25T16:55:53Z","closed_at":"2018-08-25T16:55:53Z","author_association":"CONTRIBUTOR","body":"\r\n新版本的映射\r\n-----------------------------------------------------\r\n```python\r\n'''\r\n小车的管脚配置\r\n'''\r\n# GPIO字典\r\ngpio_dict = {\r\n    \"BATTERY_ADC\": 36, # 电池ADC采样(SVN)\r\n    \"USER_BUTTON\": 39, # 用户按键(SVP)\r\n    \r\n    \"LEFT_MOTOR_A\": 17, # 左侧电机A相\r\n    \"LEFT_MOTOR_B\": 5, # 左侧电机B相\r\n    \r\n    \"RIGHT_MOTOR_A\": 18, # 右侧电机A相\r\n    \"RIGHT_MOTOR_B\": 19, # 右侧电机B相\r\n    \r\n    \"LEFT_ENCODER_A\": 15, # 左侧编码器A相\r\n    \"LEFT_ENCODER_B\": 4, # 左侧编码器B相\r\n    \r\n    \"RIGHT_ENCODER_A\": 14, # 右侧编码器A相\r\n    \"RIGHT_ENCODER_B\": 27, # 右侧编码器B相\r\n    \r\n    \"UART_LCD_RX\": 33, # 串口液晶屏 接收端\r\n    \"UART_LCD_TX\": 32 # 串口液晶屏 发送端\r\n\r\n    \"UART_USER_RX\": 35, # 用户串口接收端\r\n    \"UART_USER_TX\": 34 # 用户串口 发送端\r\n    \r\n    \"USER_IIC_SCL\": 22, # 用户IIC SCL\r\n    \"USER_IIC_SDA\": 23 # 用户IIC SDA\r\n \r\n    \"SERVO_1\": 25, # 舵机1\r\n    \"SERVO_2\": 26 # 舵机2\r\n    \r\n}\r\n```"}}
{"actor":{"display_login":"mushroom-x"}}