Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 442 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 442 Bytes

use crate

[dependencies]
esp32c3_wifi = "0.1.3"

use conn wifi

    esp_idf_svc::sys::link_patches();
    esp_idf_svc::log::EspLogger::initialize_default();

    let peripherals = Peripherals::take().unwrap();
    let sysloop = EspSystemEventLoop::take()?;

    let ssid = "test";
    let pass = "";
    let auth_method = AuthMethod::None;
    let _wifi = wifi(ssid, pass, auth_method, peripherals.modem, sysloop)?;