• Skip to primary navigation
  • Skip to content
  • Skip to footer
HVL - ELE201 Microcontrollers and Data Networks
  • Lectures
  • Exercises
  • Network Lectures
  • Network Practice
    1. Home
    2. /
    3. Exercises
    image

    Exercises

    You can find codes for the exercises we did in the classroom here.

    Exercises

    On this page

    • L1 - LED blink only with PlatformIO
    • L1 - LED blink CubeMX and PlatformIO
    • L2 - User button LED control
    • L2 - Toggle an external LED
    • L2 - Toggle an external LED with external button
    • L3 - LED blink with correct clock settings
    • L3 - LED blink with timers
    • L4 - Bounce problem with external interrupts
    • L4 - Software debouncing
    • L4 - Interrupt counter
    • L5 - Read potentiometer value
    • L5 - Measure A/D conversion duration
    • L5 - ADC single-continuous mode with interrupt
    • L6 - Basic DAC
    • L6 - DAC DMA Sine wave
    • L6 - LED Dimmer with PWM
    • L6 - Potentiometer LED Dimmer with PWM
    • L6 - Simple servo motor angle set
    • L7 - Simple DC motor drive with L293D
    • L7 - Adjusting DC motor speed with potentiometer
    • L8 - UART Hello World
    • L8 - UART Receive Data - Toggle LED
    • L8 UART Two STM32s Transmitter
    • L8 UART Two STM32s Receiver
    • Feed
    © 2025 HVL - ELE201 Microcontrollers and Data Networks. Powered by Jekyll & Minimal Mistakes.