element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
IoT on Wheels Design Challenge
  • Challenges & Projects
  • Design Challenges
  • IoT on Wheels Design Challenge
  • More
  • Cancel
IoT on Wheels Design Challenge
Blog Traffic Predictor #4 - Finally, the kit arrives
  • Blog
  • Forum
  • Documents
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dixonselvan
  • Date Created: 29 Sep 2017 6:25 PM Date Created
  • Views 143 views
  • Likes 4 likes
  • Comments 2 comments
  • iot on wheels design challenge
  • iot on wheels
  • trafficpredictor
Related
Recommended

Traffic Predictor #4 - Finally, the kit arrives

dixonselvan
dixonselvan
29 Sep 2017

Week 4 - Sep 25 - Oct 01

 

Finally, the kit made its way home. And there you have the stunning pictures of the NUCLEO-L476RG kit.

 

Below is the code for the "BLINK LED" program which is the "Hello World" program for electronics to test the Nucleo MCU board.

 

Digital Pins D8 & D13 have been chosen as output pins and have been declared differently. I love the way the LD1 changes from red to green when I feed in the program into the MCU board.

 

#include "mbed.h"
PinName digitalPin = D8;
int main() {
    // put your setup code here, to run once:
    DigitalOut myled(digitalPin);
    while(1) {
        // put your main code here, to run repeatedly:
        myled = 1; // LED is ON
        DigitalOut(D13, 0);
        wait(0.5); // 500 ms
        myled = 0; // LED is OFF
        DigitalOut(D13, 1);
        wait(0.5); // 500 ms
    }
}

 

You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview

 

For "Blink Led program" to begin your coding with Nucleo L476RG please visit this link.

For "Hello IoT program" to begin your coding with Nucleo L476RG with steps to start a project in the Mbed online compiler please visit this link.

 

Please find below links to my previous blogs on my traffic predictor project for IoT on Wheels design Challenge,

Blog 1 - The Official Announcement

Blog 2 - Quest for the code editor

Blog 3 - The Plan

Anonymous

Top Comments

  • e14phil
    e14phil over 4 years ago +1

    Looking good. I have to confess I love the Logo you made!

  • dixonselvan
    dixonselvan over 4 years ago in reply to e14phil

    Thank you Phil Hutchinson

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • e14phil
    e14phil over 4 years ago

    Looking good. I have to confess I love the Logo you made!

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube