We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The LED doesn't light up
The text was updated successfully, but these errors were encountered:
I find that the gpio of led changed from gpio_8 to gpio_7.
Sorry, something went wrong.
If we're talking about the LED on the GPIO7 pin (ESP32-C3-DevKit-RUST-1 board), you can try:
const LED_PIN: i32 = 7; unsafe { gpio_reset_pin(LED_PIN); assert_eq!(gpio_set_direction(LED_PIN, gpio_mode_t_GPIO_MODE_OUTPUT), ESP_OK); assert_eq!(gpio_set_level(LED_PIN, 1), ESP_OK); }
No branches or pull requests
The LED doesn't light up
The text was updated successfully, but these errors were encountered: