Thanks to visit codestin.com
Credit goes to github.com

Skip to content

surbalo1/rsl10-blinky-rtt-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💡 RSL10 LED Button Control with RTT Debug

C ARM RSL10 License

Interrupt-driven LED control with SEGGER RTT debugging. No UART pin conflicts.

Button debounce • Real-time debug • Integrated LED/Button


📋 Overview

Firmware for RSL10 that controls the onboard LED via button interrupts. Uses SEGGER RTT for debugging to avoid UART/GPIO pin conflicts common on the RSL10 EVB.


✨ Features

Feature Description
💡 LED Control Interrupt-driven on DIO6
🔘 Button Input SW2 on DIO5 with debounce
🔌 RTT Debug No UART pin conflicts
⚡ Low Overhead Interrupt-based, not polling

🛠️ Hardware

Component Pin Function
LED DIO6 Green LED (integrated)
Button DIO5 SW2 (integrated)
Debug - J-Link via USB

🚀 Quick Start

git clone https://github.com/surbalo1/rsl10-blinky-rtt-debug.git
# Import in onsemi IDE → Build → Flash
# Open J-Link RTT Viewer (Device: RSL10, SWD, 4000 kHz)

RTT Output

===================================
  DEVICE INITIALIZED
  Press button (SW2) to
  toggle LED on/off
===================================

[INITIAL STATE] LED: OFF
>>> BUTTON PRESSED: LED ON <<<
>>> BUTTON PRESSED: LED OFF <<<

📄 License

MIT License - Based on ON Semiconductor example code.


GitHub

About

LED control with button on RSL10 EVB using interrupts and RTT debug

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •