PwmOut_HelloWorld Example for WIZwiki-W7500

Dependencies:   mbed-src

Fork of PwmOut_HelloWorld by Mbed

Prerequisite

This example is for PWM test using digital I/O. To implement this function, you need a Platform board.

Below are what we used.

  • WIZwiki-W7500 from WIZnet (Platform board)

Hardware Configuration

WIZwiki-W7500 Pin map

pin map

Software

Init GPIO

    PwmOut led(LED1);

Set PWM

    led.period(4.0f);      // 4 second period
    led.write(0.50f);      // 50% duty cycle, relative to period

History

PwmOut_HelloWorld Example for WIZwiki-W7500 default tip

2015-06-29, by justinkim [Mon, 29 Jun 2015 03:25:22 +0000] rev 2

PwmOut_HelloWorld Example for WIZwiki-W7500


updated example for clarity

2014-09-21, by mbedAustin [Sun, 21 Sep 2014 06:39:30 +0000] rev 1

updated example for clarity


PwmOut HelloWorld

2013-02-12, by mbed_official [Tue, 12 Feb 2013 15:10:53 +0000] rev 0

PwmOut HelloWorld