Onboard LED
The Nucleo-L031K6 has an onboard user LED (LD3), attached to GPIO pin PB3 (D13). The LED is lit when the pin is driven high. You can also use theLED_BUILTIN constant to reference the LED in your Arduino code:
Simulation features
This table summarizes the current status of the STM32L031K6 MCU simulation features:| Feature | Status | Notes |
|---|---|---|
| Processor core | ✔️ | Cortex M0+ core |
| SysTick timer | ✔️ | |
| EERPOM | ✔️ | |
| GPIO | ✔️ | |
| USART | ✔️ | |
| I2C | ✔️ | Master mode only |
| SPI | ✔️ | Master mode only |
| ADC | ✔️ | Used by analogRead() |
| STM32 timers | ✔️ | TIM2/21/22, used by analogWrite() |
| Comparator | ❌ | |
| CRC | ✔️ | 32, 16, and 8 bits (7 bits not supported) |
| DBG | ❌ | |
| DMA | ❌ | |
| EXTI | ✔️ | |
| IWDG | ❌ | |
| LPTIM | ❌ | Low power timer |
| LPUART | ❌ | Low power USART |
| PWR | ❌ | |
| RCC | ✔️ | |
| RTC | ❌ | |
| SYSCFG | 🟡 | Only EXTICRn registers |
| WWDG | 🟡 | Implemented, not tested yet |
| GDB Debugging | ✔️ | See the GDB Debugging guide |
✔️ Simulated
🟡 Partial implementation/work in progress
❌ Not implemented