Why isn't the LED responding to voice commands in my MicroPython code?
Hey guys still based on my project on developing a home automation voice-controlled system using
this is my code
MicroPython and TinyML on an ESP32 microcontroller to recognize specific voice commands ("turn on" and "turn off") for controlling an LED, am currently testing the voice command recognition and validating LED control using simulated commands ("on", "off") But am getting no response from LED despite commands being printed correctly. My aim is to ensure the LED responds appropriately to the recognized voice commands, How can I resolve this?this is my code
Solution
Hi @Enthernet Code
modify your SPI_PeripheralControl function to use a read-modify-write operation:
This approach preserves other bits in the CR1 register while modifying only the SPE bit.
modify your SPI_PeripheralControl function to use a read-modify-write operation:
This approach preserves other bits in the CR1 register while modifying only the SPE bit.