# IDF-Components **Repository Path**: elyarenwer/idf-components ## Basic Information - **Project Name**: IDF-Components - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-22 - **Last Updated**: 2024-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Components List ### [【全屏阅读】](https://gitee.com/elyarenwer/idf-components/blob/dev/readme.md) ## net > Headers + ap.h + sta.h > Usage > 启动AP模式 ```c #include "ap.h" net_ap_run(); ``` 启动STA模式 ```c #include "sta.h" net_sta_run(); ``` ## gpio > Headers + gpio.h > Usage > ```c #include "gpio.h" gpio_set_ouput(GPIO_NUM_2); gpio_set_on(GPIO_NUM_2); //gpio_set_off(GPIO_NUM_2); ``` ## u8g2 > Headers + oled.h > Usage ```C #include "oled.h" void app_main(void) { oled_init(); test_screen(); } ``` > 初始化 ```C oled_init(); ``` > 测试屏幕 ```C test_screen(); ``` > 显示内容 ```C show_content(const char *new_content); ```