# esp32c3_car_send **Repository Path**: fanjunwei/esp32c3_car_send ## Basic Information - **Project Name**: esp32c3_car_send - **Description**: 遥控车-遥控器 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-10 - **Last Updated**: 2024-01-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 遥控器发送代码 ## 简介 本项目使用platfomio框架, 基于esp32c3开发, 通过发送指令来遥控小车. ## 遥控模式 - 支持ESPNOW模式, 在[platformio.ini](platformio.ini)配置 **打开** 宏__USE_ESP_NOW__ ``` build_flags = -D __USE_ESP_NOW__ ``` - 支持连接巴法云,在[platformio.ini](platformio.ini)配置 **关闭** 宏__USE_ESP_NOW__, 在[main.cpp](src/main.cpp)中配置如下宏 ``` #define DEFAULT_STASSID "xxxx" #define DEFAULT_STAPSW "xxxxx" #define UID "xxxxx" #define TOPIC "car" ``` ## GPIO连接 - IO2 摇杆前后 - IO3 摇杆左右 - IO7 按键