ARM assembly code to read pushbuttons and write to LEDs on an STM32F0 development board.
Find a file
2026-01-11 14:43:39 +02:00
BLLCHA013_BHDUNA001_EEE3095S/Prac4 Add SW3 pause functionality 2024-09-26 14:57:57 +02:00
Code Appendix.odt Add code appendix documents 2024-09-26 15:02:38 +02:00
Code Appendix.pdf Add code appendix documents 2024-09-26 15:02:38 +02:00
EEE3095S 2024 Practical 4 Hand-in BLLCHA013 BHDUNA001.odt Add report 2024-09-26 16:24:03 +02:00
EEE3095S 2024 Practical 4 Hand-in BLLCHA013 BHDUNA001.pdf Add report 2024-09-26 16:24:03 +02:00
README.md Update README.md 2026-01-11 14:43:39 +02:00

EEE3095S-Prac4

ARM assembly code to read pushbuttons and write to LEDs on an STM32F0 development board. Assembly code is used to interface with the GPIO pins on the STM32F0 development board instead of C code.

  • By default, the LEDs incremement by 1 every 0.7 seconds. The count starts at 0.
  • While SW0 is held down, the LEDs increment by 2.
  • While SW1 is held down, the LEDs incremement by either 1 or 2, depending on whether SW0 is being held down at the same time, but now at 0.3s between increments.
  • While SW2 is held down, the LEDs display the value 0xAA.
  • While SW3 is held down, the increment is paused and the LEDs display the current frozen pattern.