Skip to content

ARMmbed/mbed-os-snippet-Direct-Register-Blinky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Direct Register Blinky example using Mbed OS

This guide reviews the steps required to build and run a Blinky application on the FRDM-K64F without using DigitalOut class and timers by manipulating the hardware mapped IO registers directly.

Please install Mbed CLI.

Import the example application

From the command-line, import the example:

git clone https://github.com/ARMmbed/mbed-os-examples-docs_only.git
cd mbed-os-examples-docs_only/Direct-Register-Blinky
mbed config root .
mbed deploy

Now compile

mbed compile -m k64f -t gcc_arm 

Program your board

  1. Connect your Mbed device to the computer over USB.
  2. Copy the binary file to the Mbed device.
  3. Observe LED blinking.

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