Skip to content

ARMmbed/mbed-os-snippet-InterruptIn_ex_2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

InterruptIn example

This example shows how to use InterruptIn to trigger a function call when a certain event happens. The example demonstrates calling a function on the rising edge of a button press. You can observe this through LED4 blinking as the program runs. LED1 only changes when the button is pressed.

MIRRORED FROM MASTER EXAMPLE SNIPPETS REPOSITORY: mbed-os-examples-docs_only. ANY CHANGES MADE DIRECTLY TO THIS REPOSITORY WILL BE AUTOMATICALLY OVERWRITTEN.

About

A mirrored example snippet from mbed-os-examples-docs_only

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages