Labs
Course Agenda
Course Outline
Syllabus
Gradebook
CSCI 224: Assembly Language Programming
Resources and Sample Programs
Blinking LEDs
... RG LED with software delay
... RGB LED with software delay
Working with low-power timers
Control LEDs by CRYOTIMER
Control LEDs by LETIMER0
Working with RTCC
blinking LED in Normal mode
printing time in Calendar mode
LED brightness control with PWM
... green RG LED with LETIMER
... RGB LED with TIMER0
Multiplexing RGB LEDs
Reading button pin states
Toggling LED with a button
Button debouncing algorithm
Implementation of button debouncing
Working with true random number generator (TRNG)
Generating random numbers
Blinking LED with random period