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

加入jy901 #19

Merged
merged 4 commits into from
Dec 21, 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
37 changes: 37 additions & 0 deletions command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## 配置环境
get_idf

## 配置
idf.py menuconfig

## 编译
idf.py build

## 清除
idf.py fullclean

## 下载
idf.py -p /dev/ttyUSB0 flash

## 监视器
idf.py -p /dev/ttyUSB0 monitor

## 构建、下载、监视
idf.py -p /dev/ttyUSB0 flash monitor

## 擦除
idf.py -p /dev/ttyUSB0 erase-flash

## 编译成功提示
Project build complete.

## 字体库下载
python esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 115200 write_flash -z 0x15D000 myFont1.bin

get_idf
cd Bike-Computer-main
idf.py build
idf.py -p /dev/ttyUSB0 flash monitor

git config --global --unset http.proxy
git config --global --unset https.proxy
2 changes: 1 addition & 1 deletion components/jy901/jy901.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "JY901.h"
#include "jy901.h"

// 创建一个JY901_DATA的实例
JY901_DATA jy901_data;
Expand Down