Skip to content

ElectronInjection

MIDI

MIDI Test Code on Arduino and STM32 Blue Pill

May 28, 2026January 27, 2021 by ElectroBrandon

This code turns the onboard PC13 LED of the STM32 Blue Pill on when a MIDI NoteOn message is received and turns the LED off when a MIDI Noteoff message is received. It’s my preferred way to confirm that a MIDI circuit is working. It relies on the Arduino MIDI Library.

Categories Electronics, Programming Tags Arduino, Blue Pill, MIDI, STM32

Find Me

  • Github
  • Youtube

Recent Posts

  • Can a 20ft Rocket Candy Fuse Burn in 4 Seconds?
  • PCB Design Stress Test: 1oz vs 2oz Copper
  • STM32 HAL – Hard n Fast – Cheat Sheet
  • Dungeon Controller – STM32 HAL FreeRTOS
  • Idiot Christmas Light Controller

Categories

  • 3D Printing
  • Altium
  • C_Code
  • CNC
  • Electronics
  • Guitar_Building
  • Kicad
  • PCB_Design
  • PLCs
  • Portfolio
  • Programming
  • Projects
  • Python
  • Rants
  • Videos

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Highlights

  • About
  • Blog
    • Engineering Design Principles
    • PCB Checklist
  • Contact
  • Rocket Candy Fuse Calculator
© 2026 ElectronInjection • Built with GeneratePress