# bcar-arduino
**Repository Path**: anipython/bcar-arduino
## Basic Information
- **Project Name**: bcar-arduino
- **Description**: 两轮平衡车 arduino 代码
- **Primary Language**: C++
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-03-30
- **Last Updated**: 2025-03-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 两轮平衡车代码
### 【bilibili | 视频教程】 TB_CAR视频
https://www.bilibili.com/video/BV1Kyc3eiErK/?vd_source=30ce0b8edbf661a7044de99533872fce
### 【金山文档 | WPS云文档】 TB_CAR物料
https://kdocs.cn/l/coxXg5EI3AaE
### 以下需要修改成你自己的
bcar-arduino.ino
```c++
// wifi 名称和路由
const char *ssid = "你的 WIFI 名称";
const char *password = "你的 WIFI 密码";
// 设置静态 IP 配置
IPAddress local_ip(192, 168, x, 180); // 设置固定 IP 地址, x 替换成你的路由中设置的值
IPAddress gateway(192, 168, x, 1); // 路由器网关地址, x 替换成你的路由中设置的值
```
index.html
```html
const esp32Address = "http://192.168.x.180" // x 替换成你的路由中设置的值
```
