Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fixes #2

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion embedded/2023-07-21-C6-串口通信.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ USART6对应着C板海绵上的串口2,我们可以在用户手册中查询到
5. “说不了话”:putty里面要对应设置,另外putty中需要设置SSH-Serial为flow control为none,terminal中勾选对应项。
6. 匹配不上,发送的字符串没有大写;putty发送字符串没有加上回车,字符串末尾的标识未匹配;另外putty中换行符为\r,而非常用的\n或\r\n

(我强烈建议大家使用 **vofa+** 之类的可视化调试助手,以上三个问题都可以避免,下一课会讲到它的使用)
(我强烈建议大家使用 [**vofa+**](https://www.vofa.plus/) 之类的可视化调试助手,以上三个问题都可以避免,下一课会讲到它的使用)
7. 重新编译后要退出Debug重新运行才行。

## 四、小小作业
Expand Down
4 changes: 2 additions & 2 deletions embedded/2023-08-08-C7-DT7遥控.md
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ void usart_printf(const char *fmt,...)

串口输出的拨轮值非常奇怪,并且只有拨轮接收到的数据出现问题。可以初步排除代码解析遥控数据的问题。

我们尝试安装一下校准一下我们的DT7遥控器,先安装遥控器,再安装接收机
我们尝试安装一下校准一下我们的DT7遥控器,先安装遥控器驱动,再安装调参软件

>参考博客:https://blog.csdn.net/zhang1079528541/article/details/116784551
>
Expand All @@ -715,7 +715,7 @@ void usart_printf(const char *fmt,...)
>遥控器驱动下载:
>https://rm-static.djicdn.com/tem/RoboMaster%20%E9%81%A5%E6%8E%A7%E5%99%A8%E9%A9%B1%E5%8A%A8.7z
>
>要使用调参软件还需要把图传接收机驱动安装好
>要使用调参软件还需要把 ==图传接收机驱动== 安装好
>图传接收机驱动下载:
>https://rm-static.djicdn.com/tem/17348/DJI%20Phantom%204%20Drivers_1.2_Installer%20%281%29.exe
>
Expand Down
4 changes: 3 additions & 1 deletion embedded/2023-08-17-C8-CAN通信与电机驱动.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,10 @@ const motor_measure_t *local_trigger;
```

这里我们可以查阅vofa+的文档:

![vofa数据引擎](image-15.png)
选择使用firewater引擎,点击p旁边的问号按钮,转到[https://www.vofa.plus/plugin_detail/?name=firewater](https://www.vofa.plus/plugin_detail/?name=firewater),给了arduino示例:

选择使用firewater引擎,点击旁边的问号按钮,转到[https://www.vofa.plus/plugin_detail/?name=firewater](https://www.vofa.plus/plugin_detail/?name=firewater),给了arduino示例:

```c
void setup() {
Expand Down