Microprocessor 2 Labs v2.0
Microprocessor 2 Lab Documenation
Loading...
Searching...
No Matches
main.c File Reference
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event_loop.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "driver/gpio.h"
#include "driver/ledc.h"
#include "lwip/sys.h"
#include "lwip/netdb.h"
#include "lwip/api.h"
#include "driver/mcpwm.h"
Include dependency graph for main.c:

Macros

#define _BONUS_
 
#define EXAMPLE_ESP_WIFI_SSID   "ESP32-WIFI-MODULE"
 
#define EXAMPLE_ESP_WIFI_PASS   "12345678"
 
#define EXAMPLE_MAX_STA_CONN   3
 
#define SERVO_MIN_PULSEWIDTH_US   (1000)
 
#define SERVO_MAX_PULSEWIDTH_US   (2000)
 
#define SERVO_MAX_DEGREE   (90)
 
#define SERVO_PULSE_GPIO   (23)
 

Functions

void wifi_init_softap ()
 
void setUpPWM ()
 
void app_main ()
 

Macro Definition Documentation

◆ _BONUS_

#define _BONUS_

◆ EXAMPLE_ESP_WIFI_PASS

#define EXAMPLE_ESP_WIFI_PASS   "12345678"

◆ EXAMPLE_ESP_WIFI_SSID

#define EXAMPLE_ESP_WIFI_SSID   "ESP32-WIFI-MODULE"

◆ EXAMPLE_MAX_STA_CONN

#define EXAMPLE_MAX_STA_CONN   3

◆ SERVO_MAX_DEGREE

#define SERVO_MAX_DEGREE   (90)

◆ SERVO_MAX_PULSEWIDTH_US

#define SERVO_MAX_PULSEWIDTH_US   (2000)

◆ SERVO_MIN_PULSEWIDTH_US

#define SERVO_MIN_PULSEWIDTH_US   (1000)

◆ SERVO_PULSE_GPIO

#define SERVO_PULSE_GPIO   (23)

Function Documentation

◆ app_main()

void app_main ( void )

◆ setUpPWM()

void setUpPWM ( )

◆ wifi_init_softap()

void wifi_init_softap ( )