File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 120120//! &MODE_0,
121121//! );
122122//!
123- //! let esp_pins = esp32_wroom_rp::gpio:: EspControlPins {
123+ //! let esp_pins = EspControlPins {
124124//! // CS on pin x (GPIO7)
125125//! cs: pins.gpio7.into_mode::<hal::gpio::PushPullOutput>(),
126126//! // GPIO0 on pin x (GPIO2)
130130//! // ACK on pin x (GPIO10)
131131//! ack: pins.gpio10.into_mode::<hal::gpio::FloatingInput>(),
132132//! };
133- //! let mut wifi = esp32_wroom_rp::wifi:: Wifi::init(spi, esp_pins, &mut delay).unwrap();
133+ //! let mut wifi = Wifi::init(spi, esp_pins, &mut delay).unwrap();
134134//! let firmware_version = wifi.firmware_version();
135135//! defmt::info!("NINA firmware version: {:?}", firmware_version);
136136//!
137- //! defmt::info!("Entering main loop");
137+ //! // Infinitely sit in a main loop
138138//! loop {}
139139//! }
140140//! ```
You can’t perform that action at this time.
0 commit comments